make install after building qt
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 […]
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 […]
If you ever build a large project, you may notice the entering/leaving directory messages in the output of make command, for example: mingw32-make[2]: Entering directory ‘C:/myproject’ … mingw32-make[2]: Leaving directory […]
Some qmake variables, functions, and conditions are hard to know their meanings. I list here for a memo. $$replace(variable, old_string, new_string): replace old_string in variable with new_string. $$unique(variable): remove duplicated […]
Percent symbols are confusing in Windows bat scripts because they are designed with different meanings in different situations. The most occurrences of percent symbols are like %xxx%, where xxx is […]