Could not determine the path to the binaries...
I’ve been having the worst possible trouble trying to get Qt to compile a very simple beginner program, and now it’s starting to drive me insane. I’m very new to programming, so please bare with me....
View ArticleQt 4.8.4 QtWebKit vs qurl.h
Many problems including qurl.h have been previously reported in other contexts. Here’s a new one. When I included QtWebKit functionality in my app, qurl.h was required, but produced these errors during...
View ArticleQt5 (.0.1) and QtMobility
Is there any way to use QtMobility with Qt5? If not, what would be the correct set of versions to use? I am on OSX and don’t seem to be able to compile it under Qt5 (Lots of errors) Regards
View ArticleWhat is the proper way to separate the view layer from the logic layer in QT?
My mainwindow have a side GUI with a QGraphicsView in the center, there is a logic class which make different calculations which triggered by the GUI and effects the QGraphicsView. Some of the...
View ArticleGet/Set cookies from qml
Hi all: I am writting a client program. When I login, the server will send some cookies to me in the ‘Set-Cookie’ header field. I need to get the cookies, because the rest of the request will need...
View ArticlegroupBox problem
Hello. I’ve got a question about groupBox. I add 2 radioButtons, groupBox and label on form. I want to set text of the label when radioButton is checked. But I don’t know how to use ui.groupBox to...
View Article【Error When Compiled】cc1plus.exe:-1: 错误:error: unrecognized command line...
How would I go about it? [merged posts, Tobias]
View ArticleHow can i pass a parameter to MOC ?
Hello Im having problem using Boost with Qt I searched a lot and saw many workarounds , but unfortunately i couldn’t use those here is the error and workarounds :...
View ArticleUsing QtConcurrent::Exception with boost::exception
I want to use an exception hierarchy where the base exception class derives from boost::exception so that I can get the nice and useful diagnostic information that that class has to offer and...
View ArticleEmpty Class Size
class EmptyClass { public: }; int size = sizeof(a); cout<<size<<endl; Output is showing 8. Please tell me why?
View ArticleNeed advice on Audio playback API for Qt4.8.4 on Embedded Linux
Hi everyone! As a beginner in Qt I need some advice in choosing the right Multimedia/Audio playback API for Qt4.8.4 from those of you have experince with this. I’m configuring a embedded linux ARM...
View ArticleHow can I use variables from parent class in child?
I am trying to use QstringList from MainWindow class in child class but I always get following error: /home/ruli/MD-build-desktop/../MD/find.h:17: error: expected ‘)’ before ‘*’ token find.h file...
View Article这一段代码错在哪里,执行的时候会出问题
QString srcimgfilename; QString rawdatafilename; QStringList filelist; filelist = QFileDialog::getOpenFileNames(this,tr(“选择文件”),”.”,tr(“Text files (.txt);;XML files (.xml)”));...
View ArticleError -1073741819
Why when I create a basic app I get this error : -1073741819 mainwindow.cpp #include "mainwindow.h" #include "ui_mainwindow.h" ...
View ArticleQt Creator debugger doesn't show inner properties
I’m using Qt Creator 2.6.82 on Ubuntu 12.10. I wanted to figure out if some properties are correctly set, but I can’t see them. This is the deepest I can get (I can’t even open the QObject node) and I...
View ArticleGoing back to Qt 4
Hi, All my question is in the topic, how do we go back to the old qt ? Qt4 ? Thanks
View Article[Solved]Very large .dll to distribute my program
I want to distribute the .so or .dll files. Is it normal that Qt5Guid.dll, Qt5Cored.dll and Qt5Widgetsd.dll together are 300MB. Is there a way to reduce it in order to provide a “light” software to the...
View ArticleProblem with Qt Creator
Hi, I have some strange problem with Qt Creator. I just installed on my Windows 7 (32 bit) : – Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB) . Everything was fine during installation but after that...
View ArticleQRadioButton group and QDataWidgetMapper
I wanted to be able to represent an exclusive set of options as several radio buttons. I also wanted to be able to store an integer Id corresponding to which option was selected in my database, and...
View ArticleQuestions about distribution of software using Qt
I have a proprietary software that I want to distribute with .so or .dll files. Will I have to distribute the source code of the Qt-part of my software? For example, if I use Qt and provide the .so...
View Article