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 qmakewhen configuring the build process for projects.

Function Reference

There are two types of qmake functions: replace functions and test functions. Replace functions return a value list, while test functions return a boolean result. The functions are implemented in two places: fundamental functionality is offered as built-in functions. More complex functions are implemented in a library of feature files (.prf).

The functions are divided into categories according to their type:

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.

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.