Quantcast
Browsing all 13965 articles
Browse latest View live

How to Drag and Drop Custom Widgets?

I have created my own custom widget and I want to support internal drag and drop for the widgets. I have added 4 of my custom widgets in a vertical box layout. Now i want to drag and drop the custom...

View Article


Why qBinaryFind is giving compilation errors for std::list?

Why qBinaryFind is giving compilation errors for std::list? Please go through the following examples? for example following program does not compile. int main(int argc, char *argv[]) { QCoreApplication...

View Article


How to overwritting a file?

sorry… I said nothing. I had a question, but I understood my fault when I sent my message. It’s my array that isn’t emptied and which contains twice content. Sorry. How to remove this thread? ——————...

View Article

How to use QtCreator's diffeditor component in my app when using LGPL version...

Hi, I would like to ask here about LGPL licensing and using some components from QtCreator. I know I can’t use LGPL code directly in my commercial app so I’m wondering if it’s OK if I will create LGPL...

View Article

Dev Days 2013 Videos

When will the videos from Dev Days 2013 be available? Will they be hosted on YouTube or somewhere else? Thanks. Steve

View Article


simple examples

I’ve installed Qt 5.1.1 in Windows 7 (mingw 4.8 + openGL). However, I can’t get the simple ‘hello word’ (from version 4) to compile and run. Is there are simple guide to running simple programs, so...

View Article

QSystemHotkey

Hello, I have a system wide hotkey class and created for my Qt5.1 app, QSystemHotkey [github.com]. Since there is not a class that does this I figured I would give a go at submitting it to the Qt5...

View Article

Mavericks File Permission Problem

Hi there, building my app under Mavericks, Qt 5.2rc with xcode 5.0.2, compiles and runs fine when started from QtCreator. I do macdeployqt on the .app file Then I try to run it by double clicking it in...

View Article


Lightweight RPC

I was searching for a small RPC framework and found qjsonrpc… [bitbucket.org]. I like it because there are no other dependencies, just qt. The interfaces dont’t need to be defined in another language,...

View Article


[Solved] Switch Qt Creator project file from static to dynamic library?

I’ve got a project file that makes a static lib. If I want to switch it to creating a dynamic/shared lib, what steps would I need to take to do this properly? And, I suppose, for the other direction?...

View Article

QML to EXE/without DLL

Hello, a have my QML project, that has main.cpp, mainwin.cpp, main.h, proj_name.pro and QML files. So, i want convert my project to exe WITHOUT needed *.dll such as icudt49.dll, icuin49.dll,...

View Article

qsqlquery; bindvalue a select query

hi, i have the following scenario:   QSqlQuery query;      query.prepare("INSERT INTO person (id, forename, surname) "    ...

View Article

About QTableWidget

Hi all: I have a problem,If I input text into item of QTableWidget on GUI, and then I want it change to item of next row of QTableWidget, how should I do?The only way I can think is using “SLOT”.But it...

View Article


Exact width of an ApplicationWindow

I have an application with “Maximized” ApplicationWindow with width and height defined. How can I get the current size of the window? ApplicationWindow {     id: mainAppWindow...

View Article

Compiling Qt 5.2 + Windows 7 x64 + Mingw32-make: Which Folders do i need to...

Edit2 15:40 PM GMT+1: [Have the Topic Title changed a little as i have other Troubles now] Still have some Problems to make a good Build. When i set the “-Prefix c:\build”, there are no Files in the...

View Article


QSqlTableModel Read only

I use QSqlTableModel to access a DB2 remote database. It works well. I would like to restrict access to Read Only but I can’t find how. I would like to lock the tableview or lock the database...

View Article

Forcing a dialog box appears with its initial size from start

Greetings . I am writing a program that displays a dialog box in which, besides other widgets, there is a QLabel that displays an image. I establish the minimum size of QLabel so this keeps the same...

View Article


is it possible to make compiled VS2010 library to work with qt

Hi I’m writing a GUI program which is going to grab video frames from a camera and fuse it with other information from other sensors and radars to detect moving objects … I’m writing my code in Linux...

View Article

Diagnostic tool for device testing

Hi All, I wanted to develop an Qt Diagnostic tool to test Linux drivers on the board. Any examples to open an driver and send commands to it,for eg. Serial port to be tested. Please provide some...

View Article

Need a help in building (Qt5.1.1)qtmultimedia with gstreamer

Hi all, I am trying to crosscompile Qt 5.1.1 qtmultimedia with gstreamer on imx6 arm based device. This is my config file: #!/bin/sh ./configure —prefix=/tools/rootfs/usr/local/qt-5.1.1 -examplesdir...

View Article
Browsing all 13965 articles
Browse latest View live