How to add app icon in Qt?
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 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 […]
On windows, when you press the print-screen key, the screenshot is saved into system clipboard in 3 formats:CF_BITMAP, CF_DIB, and CF_DIBV5. The FORMATETC structure for these formats are: {2,1,-1,0,16}, {8,1,-1,0,5}, […]
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 […]
When compiling, gcc may output many error messages which are dazzling. Although you can locate the error in the source code in the end, you may never notice the details […]
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 […]
If you have read my post “Where does Qt find header files“, you have known that qmake will generate some include paths in the makefile to compile your project. For […]
I have a big misunderstanding about make. I thought if I run “make” or “make -f Makefile”, make will check the first target in the makefile and possibly update targets […]