2.8. include

Mandatory: Include a .pri file in the .pro file.

In a general Qt context, the include (filename) function includes the contents of the specified file. The included file is processed immediately.

In the MeVisLab context, the include function is used specifically to include the .pri file which is needed to resolve the dependencies to other packages and projects. It has to be entered after the entries for CONFIG and MLAB_PACKAGES as those lines set the variables for which the paths of the .pri file are processed.

Example:

     # after CONFIG and MLAB_PACKAGES
     include ($(MLAB_MeVis_Foundation)/Configuration/IncludePackages.pri)

For more information, see the qmake Function Reference.