What is the difference between QThread::terminated() and QThread::finished()?
I am writing an application that gets frames from a camera. I need to release the camera resources. Should I do this in QThread::terminated() or QThread::finished()? I would like to do it when the...
View ArticleProblem with CMake and QT 5 dlls in Windows
I am creating a CMake file for compiling a simple hello world program that uses QtCore. I use CMake to generate a VS 2012 project and it compiles fine. But when I execute it, it gives an error that...
View ArticleUse of - Asynchronous Run on a Network class
Hi all, I have been googling the web for a while and I cannot find the answer, even w/ Qt example. Here is the problem: I want to communicate w/ an embedded system that gives me an answer each time I...
View ArticleQtQuick 2 application crashes when window too small for graphical effects...
Hi, If I use graphical effects on Windows 7 (seems to work fine in Linux and OS X) and I resize the window so that the elements with graphical effects applied, then the application crashes and the...
View Articleserialization
hello everyone, I have no experience in serialization. I have a problem like: This is my struct plane { int id; int size_az; int size_dal; int amplityda; double speed; QList <int> k_x,...
View Articleserialization
hello everyone, I have no experience in serialization. I have a problem like: This is my struct plane { int id; int size_az; int size_dal; int amplityda; double speed; QList <int> k_x,...
View Articleserialization
hello everyone, I have no experience in serialization. I have a problem like: This is my struct plane { int id; int size_az; int size_dal; int amplityda; double speed; QList <int> k_x,...
View ArticleQt Mobile apps support OS types ?
Hi I like to know Mobile OS types which support by Qt Mobile Apps ? Thanks
View ArticleQmake on Mac disks
I have a strange problem with a QT Project. I try to add “../../Include” but qmake to transform it to “../Include”. If I change the path to something else, the problem doesn’t appear. First test :...
View ArticleTC creator crashed on ubuntu + lxde
Please help my with crash investigation. Error output: bq. QXcbConnection: Failed to initialize XRandr Tool chain is no longer known, removing from kit “Desktop Qt 5.0.2 GCC 64bit”. Tool chain is no...
View ArticleQt configure not creating checksdk.exe as it should
My attempt to build Qt for an embedded WinCE app fails. My command line is this: configure -platform win32-msvc2008 -xplatform wince60standard-armv4i-msvc2008 -nomake demos -nomake examples This...
View ArticleQT_DEPRECATED_SINCE gives error "missing binary operator before token (" in...
Hi, I am currently porting a Qt application from 4.8.4 to 5.1. In some files I got the error message missing binary operator before token “(” in the line where the macro QT_DEPRECATED_SINCE is called....
View ArticleQTextEdit.selectAll() and clearSelection().
I’m trying to change the font size used in a QTextEdit object after the text has been loaded. My problem is how to un-select everything afterwards. Changing the font size is easy: QTextEdit theText; //...
View ArticlePerformance of QTreeView
Hi, I want to use QTreeView with database so I created a model then called QSqlQuery for passing it to QStandardItemModel. It worked fine but I’m afraid from its performance because it loads all the...
View ArticleHow can I display live camera feed?
As of now, I am doing the following: 1) I have cv::Mat image (from OpenCV) that I convert to a QImage dispQImage 2) Then, each time I get a new frame, I do the following: QLabel *imgDispLabel = new...
View ArticleQQuickView as transparent with parent window.
I have QQuickView window for QML, and it has QWindow as parent window, so the QQuickView is inside the parent window. I would like to get this QQuickView window as transparent, but when I set it to...
View ArticleInvalidArgument: POST requires exacty one file upload per request
I try to use QHttpMultiPart to post a file but there is a following errr: <Error> <Code>InvalidArgument</Code> <Message>POST requires exactly one...
View Article[SOLVED] Custom Widget with custom stylesheet
Hi, I used the following example to customise my widget through a style sheet: http://qt-project.org/wiki/Qt_Style_Sheets_and_Custom_Painting_Example What is the best way to access the correct colour...
View ArticleHow to deploy QtWebkit Application with OpenSSL in windows?
Hi guys, I have a project using QtWebkit to browser a page with https. I have rebuilt the Qt with OpenSSL and ICU, output to folder D:\qt-5.0.2-msvc10-bin\lib) and then I rebuilt the QtWebkit as...
View Articlemissing makefile
Hello, I received sources to some projects in Qt. I tried to build and get such error : :-1: błąd:Makefile.Debug: No such file or directory
View Article