Top "Qt4" questions

Questions specifically relating to the deprecated version 4.x.x of the Qt C++ GUI library.

How do I populate values of a static QMap in C++ Qt?

I have this in my C++ header file: #include <QMap> #include <QString> class LogEvent { public: LogEvent(); …

c++ qt qt4
Selected Rows in QTableView, copy to QClipboard

I have a SQLite-Database and I did it into a QSqlTableModel. To show the Database, I put that Model into …

c++ qt qt4 clipboard qtableview
Setting application info in a Qt executable file on Windows

Anyone have an tips on setting the application info (ie. right click on .exe->properties) from Qt? I can …

windows resources qt4 version versioninfo
PyQt sending parameter to slot when connecting to a signal

I have a taskbar menu that when clicked is connected to a slot that gets the trigger event. Now the …

python qt4 pyqt
Qt Designer: how to add custom slot and code to a button

I use Qt4 Designer and I want that when I click on the "yes" button, some code will execute. And …

python qt4 qt-designer
How to generate .sln/.vcproj using qmake

I have main.cpp in c:\test folder and do the following: qmake -project qmake -tp vc test.pro The …

qt visual-c++ qt4 qmake vcproj
What is the signal for when a widget loses focus?

In a dialog, when the tab key is pressed, the focus changes to another widget. In Qt, is there any …

qt qt4 qt5 qdialog
Copy directory using Qt

I want to copy a directory from one drive to another drive. My selected directory contains many sub directories and …

qt qt4 directory-traversal
HowTo Crypt/Encrypt some string (e.g. Password) on Qt simple

Here what I have got: Qt SDK version 4.6.2 Windows XP Question: how can I simply crypt and encrypt simple QString …

qt encryption qt4
Command line parser for Qt4

I am looking for a command line parser for Qt4. I did a small google search, and found this: http://…

command-line qt4 parsing