qmake Reference
This reference is a detailed index of all the variables and function that are available for use in qmake
project files.
Variable Reference
The qmake Variable Reference describes the variables that are recognized by qmake
when configuring the build process for projects.
Function Reference
The qmake Function Reference describes the function that can be used to process the contents of variables defined in project files.
Frequently Used Variables
The following variables are frequently used in project files to describe common aspects of the build process. These are fully described in the Variable Reference.
- CONFIG
- DEF_FILE
- DEFINES
- DESTDIR
- DISTFILES
- DLLDESTDIR
- FORMS
- FORMS3
- GUID
- HEADERS
- INCLUDEPATH
- LEXSOURCES
- LIBS
- MOC_DIR
- OBJECTS_DIR
- QT
- RCC_DIR
- REQUIRES
- RESOURCES
- SOURCES
- SUBDIRS
- TARGET
- TEMPLATE
- TRANSLATIONS
- UI_DIR
- UI_HEADERS_DIR
- UI_SOURCES_DIR
- VERSION
- YACCSOURCES
Environment Variables and Configuration
The Configuring qmake's Environment chapter of this manual describes the environment variables that qmake
uses when configuring the build process.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.