Skip to content

Qmake Pro

1.TEMPLATE| | |

| ------- | -------------------------------------- | |app|Create a Makefile for building the application (default)| |lib|Create a Makefile for building the library| |subdirs|Create a Makefile for building the target subdirectory specified by the SUBDIRS variable| |aux|Create a Makefile that doesn't create anything|

2. TARGETSpecify the name of the target file## 3. CONFIG

release The project is built in release mode. If debug is also specified, the last one will take effect.
debug Project is built in debug mode
debug_and_release The project is ready to be built in two modes: debug and release.
debug_and_release_target This option is set by default. If debug_and_release is specified, the final debug and release are created in different directories.

4. QT

Specify the Qt module used in the project. By default, QT includes core and gui. If you create a module that does not include gui, "QT _= gui"

5. DEPENPATH

Program compilation is a dependent path## 6. INCLUDEPATH
The include path of the header file specifies the #include directory that should be searched when compiling the project. If it contains spaces, "" should be used## 7. QMAKE_LFLAGS
Specifies a common set of identifiers passed to the linker## 8. LIBSSpecify a list of libraries to link to in the project

REF[1]. VM-Cpp-Qt