Qt selection of ROI by mouse
Hello my friends I an new comer in Qt programming + opencv I had a question: I am doing a project and implementing one Guiapplication in Qt… On my form I have a Qgraphics view component and one photo...
View ArticleQWebView set body onload=window.open..., it return undefined
I want to rewrite QWebPage *createWindow(QWebPage::WebWindowType type) to get the open event, but when the page is like below it not work. document\.write write “unfined”. If I call the function on a...
View ArticleHow to prevent multiple tray icons
My application has a QSystemTray icon. But when i invoke any dialog of the application, two tray icons appear, if the main window is minimized, if main window is not minimized it works fine. But, how...
View ArticleConnecting C++ console project with qml (Qt Quick Application)
Hi, how to connect my C++ console project (simple board game) with qml project (Qt Quick Application)? I want to add graphics and mouse areas. I have class “dice”, which have attribute “value”. How can...
View Articleqtcreator zoomin alternatives in linux
some of you noticed that ctrl++ (zoomin) ability seems to be broken in linux, for text editor, help, etc this is not broken in windows. also, for any operating system, the zoomin key redefinition also...
View ArticleHow to setup a QPainter/QImage to save PNG of a GraphicsView?
Folks, I have a custom widget that is based on QGraphicsView and which displays a number of Items. I want to be able to render the current View to an QImage which I then save as a PNG file. I want the...
View ArticleQNativeWifiEngine::closeHandle() triggered by QCoreApplication::aboutToQuit()...
I have a client GUI application. I created a worker thread for network communication. In MainWindow destructor I deleted this worker thread. Now when I exit the application, from the back trace I can...
View ArticleTrying to debug with MSVC2012 - failed to load platform plugin even though it...
qwindowsd.dll is right there in the /platforms folder relative to the executable path Any ideas?
View ArticleUnable to manually add past Qt versions on OS X
I am trying to build an application that was developed using Qt 4.8, but I’m using the latest version of Creator. I tried to go into Preferences -> Build & Run -> Qt Versions...
View ArticleQt5 Color Banding
I’m running this demo http://www.youtube.com/watch?v=wulbR2R1GpM on my raspberry pi. Everything works great at a constant 63 fps. However, the gradients are showing some pretty serious banding, it...
View ArticleNovice Looking for assistance Creating a Calendar Note Taking App
Looking for some guidance on creating this app in Qt5.0 currently only have what you see here i am missing the following; 1]Want to be able to click on a date and save information on the text area...
View ArticleHow to create setup in qt?
Hello All I want to build setup for my GUI Application. Please tell me the steps. Thanks Zain
View ArticleQT 5: building MySql plugin
Hello there! I just want to create a mysql ready qt5 application but I can’t manage to build de plugin. The documentation says that I have to open and build the source code, but… where is the mysql.pro...
View ArticlePath to qt_webkit.pri
I am having a path issue when building qt/webkit/myapp for the ARM platform. When building WebKit for my host machine (not cross compiling), two qt_webkit.pri files are generated. – One lives in...
View ArticleQFileDialog has not been declared
Hello, I’m using Qt 8.4.8 compiled form sources on a Debian linux installation (Linux version 2.6.32-5-amd64 (Debian 2.6.32-46) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) )) In QtCreator...
View ArticleQt5 signals and slots, "too many initializers" error
I’m porting my program to Qt5 but signals and slots stopped working. I have signals void error(int code, QString msg, int line, QFile *file); void warning(int code, QString msg, int line, QFile *file);...
View ArticleQCOMPARE doesn't like QPointF
Hi, I’ve seen examples of source code using QCOMPARE to test QPointFs – http://koffice2.sourcearchive.com/documentation/2.0.1/TestPosition_8cpp-source.html In my case it doesnt work. Here’s the source...
View ArticleError: LNK1104: cannot open file 'gdi32.lib'
Hi, I installed Qt, but while building the project I get an error: LNK1104: cannot open file ‘gdi32.lib’ (Your text to link here… [evernote.com]). How can I fix it? Thanks in advance!
View ArticleQt5 cannot include the file QMainWindow
I have recently installed both Qt4.8.4 and Qt5.0.0 on my computer.Everything goes well with the version 4.8.4 while something wired exists when compiling with library v5.0.0. I created a new project...
View Article