Qt Extended Home · Build System Home · Reference · User Guide · Internals codeless banner

Deciding what to build

The file projects.pri includes other files to setup the PROJECTS, THEMES and SERVER_PROJECTS variables. These variables control what is built.

Note that every file matching /src/projects.pri is read.

The file in <source>/src/projects.pri pulls in other files. These files are included from <source>/src.

These files are included from <build>/src.

It is not recommended to modify module_*.pri. Instead you should use custom.pri and local.pri. The intent is for organization changes (that is, changes that will be part of a redistributed source package) to go into custom.pri and changes for individual developers to go into local.pri.

If you are adding projects, it is recommended to use *= to avoid the possibilty of duplicate entries. Duplicate entries can cause problems when you try to build.

Note that device profiles can override the project selection using a different file.

See also Tasks, PROJECTS, THEMES, SERVER_PROJECTS, and Device Profiles.


Copyright © 2009 Trolltech
Qt Extended - Build System Documentation