How to build Qt6 from source on Windows?
Download and install software required to build Qt6 with VS To build Qt6 on Windows using Visual Studio, you need to install several software: cmake perl python3 ninja Visual Studio […]
Download and install software required to build Qt6 with VS To build Qt6 on Windows using Visual Studio, you need to install several software: cmake perl python3 ninja Visual Studio […]
I do not understand why the prepare function and the bindValue function exist in QSqlQuery, although I used them many times. Things could be simpler: QSqlQuery query(“select * from myprogrammingnotes”); […]
Using pre-built openssl such as this one always causes trouble. They may require vc runtime dll like msvcr120.dll that is not available on deployed machine, or they are not compatible […]
Many qt image related classes allow you to load an image from a file such as: QIcon ButtonIcon(“myprogrammingnotes.com.ico”); button->setIcon(ButtonIcon); Or, QPixmap pixmap(“myprogrammingnotes.com.ico”); QIcon ButtonIcon(pixmap); button->setIcon(ButtonIcon); That is very convenient. But […]
If you do not set an icon for your qt project, the built exe has a default icon, which seems a blank window. If you run the program, the icon […]
If you does not provide any parameter when configuring qt, the qt binaries you build sometimes support ssl, sometimes do not. If your build tool chain such as Mingw includes […]
After building qt from source, you may want to install the build results by running “mingw32-make install”. But wait a minute, you do not really need to install the generated […]
qmake variable CONFIG contains the conditions that are evaluated to true. CONFIG += abcdefg abcdefg:xxxxx qtConfig is a qmake test function which returns true if the tested feature is an […]
There exists dependency relationship between qt modules. Some modules can only be built after some other modules are built. This is not only because some modules use the libs/header files […]
In my previous post what .prf files are automatically loaded by qmake, you have known that qmake will read a spec file qmake.conf before reading your .pro file. This spec […]