Qt Creator loads the GDB pretty printers in the following manner. First, it imports the gdbbridge module by running the following gdb command. python from gdbbridge import * The file […]

Some day, you may want to debug qmake, … for fun. How to debug qmake? In the source directory of qmake(c:\Qt5.12.1\5.12.1\Src\qtbase\qmake), you will find a .pro file qmake.pro, which would […]

You can find some qt configure options in its official document. But more options are undocumented. To get a full list of qt configure options, you should understand how qt […]

.pro file can specify a subdirs template. You may think to use subdirs template, you need to create sub directories and create sub project files in them. But actually you […]

How do you display multiple-line messages in .pro file? The following code does not work. message(“First line\nSecond line”) The backslash is indeed an escape character in the string, but it […]

The role of qmake in Qt configure

We’ve known the role of the configure script in configuring Qt for build. The last step of the configure script is to call qmake.exe to complete the remaining configuration. The […]

If you want to build qt from source code, the first thing you would do is to run the Qt configure script. Where is the Qt configure script? The Qt […]