Treemodel transformation
Hello, I’m having huge difficulties getting the following to work: I have a QAIM subclass that takes a variable amount of QSqlQueryModel and models them into a tree (every QSqlQueryModel is simply a...
View ArticleRecompile 5.0.1 static
I followed the directions here: http://www.youtube.com/watch?v=chMNUzpN4pw from VoidRealms about how to rebuild Qt for static deployment. I’m trying to get a new environment up and running but am...
View ArticleOverwriting files when copying using QFile
Here’s a code snippet that works fine provided the destinationFile doesn’t exist: QFile...
View Articledesigner tab doesnt work in QtCreator
hi my designer tab in QtCreator doesnt work. i have installed QtCreator-QtAssistant-Qtdesigner-QtLinguist-QtSetting from ubuntu software center. but when i creat a project in QtCreator desighn tab...
View Articlestd::to_string() not found in standard library
As you can guess the problem is here -> std::to_string() If you download and install the following version [Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB)] you won’t be able to compile your...
View ArticleQt Linguist: HTML and RTL-languages
Translator to hebrew in our project is facing some difficutlies with HTML links. For example, original english string You've earned %1 %2. <a href="%3">Want...
View ArticleQtWebKit: Symbol not found Mac OS X 10.6
I’m trying to compile Sigil 0.7.0 for Mac OS X 10.6. Sigil uses Qt 5.x. (I have successfully compiles Sigil 0.6.2 for Mac OS X 10.5, and that uses Qt 4.x) With either the pre-compiled Qt5.0.1, or a...
View ArticleFailing to add a QListView inside a QWidget
I am facing an issue related to displaying widgets. I have a QWidget inside which I wanna display a QListView. To illustrate further, here is the scenario: I have a QWidget which I am adding to a...
View ArticlePassing DB Query data to another Window and show the values in respective fields
Hi with the help of Andre, I was able send Selecteditem of QListView to a QLineEdit in next window, now I need to send that Selecteditem’s Query information to Second Window’s Form fields. Do I need to...
View Articleneed help to build...
hello i m stef from switzerland i m newbie and i try to compil a software but i have this error…: 10:18:31: Running steps for project vaslib… 10:18:31: Configuration unchanged, skipping qmake step....
View ArticleNative WebSocket client (without webkit)
Hi, Will be websocket moved from webkit to network lib in future? In network are all common sockets. When I want to use websocket I need deploy whole libwebkit for this small socket. I tried third...
View ArticleQt5 cannot find header files - OpenSuse
This may be a regular question but so far I couldn’t find an answer. The following error appears when trying to compile: g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_GUI_LIB...
View ArticleQt5 in Linux repositories
Hello, can anybody tell me, why Qt5 are not in any latest linux distro in the repository? Is it because of porting KDE? Is there a plan, when the first distributions will come with Qt5? I took my...
View ArticleQt5.0.1 deployment problems
Hello everyone. I’ve some problems with deployment of my app on other machines. Application uses network and multimedia modules. The problem is that I cant play multimedia in my app outside of creator...
View ArticleDelegate QTableView o QTableWidget
hello qt and all who do good work schedule, my question I have is: which of the two classes QTableView or QTableWidget I can use for good performance with delegates (QCheckBox, QComboBox, QDateEdit,...
View Articleadd QQuickView to QWidget
Hi Everyone I want to add a custom list view to my existing UI project, I read this article, but I think it needs an update now. http://doc.qt.digia.com/4.7-snapshot/qml-integration.html I am getting...
View ArticleNo Maintenance Tool - no python script. how to uninstall Qt from a Mac?
Hey there, I tried to install Qt 4.8.3 (Creator 2.6.2) with on my Mac (10.8.2 Mountain Lion). Running projects which ran on other Macs failed to built. So, after a while I pretty ###### up everything...
View ArticlesetRoleNames in Qt 5.0.1
I try to use some code… ListModel::ListModel(ListItem* prototype, QObject *parent) : QAbstractListModel(parent), m_prototype(prototype) { ...
View Articleconfiguration Qt with OpenCV in linux
hi i am using ubuntu12.04 , Qt 2.4.1 and OpenCV2.3.1 and i have downloaded and installed them with ubuntu repository. i have tried for 2days to run an example of opencv on it but i got some errors ....
View ArticleSegmentation fault on Mac OS during drag & drop
Hi, I found that replacing a widget while a drag is happening can cause a segmentation fault on Mac OS (doesn’t happen on my Windows machine). I am replacing it from the parent’s widget dragEnterEvent....
View Article