Home · Overviews · Reference · Classes codeless banner

headers Extension

The headers extension handles setting up the include directory.

For basic usage, no special actions are needed. If you need to install headers but you cannot do TEMPLATE=lib then simply load the headers extension manually.

    CONFIG+=headers

Public headers go in HEADERS. Private headers (not in the include directory) go in PRIVATE_HEADERS. Private headers that you want in the include directory go in SEMI_PRIVATE_HEADERS. Note that semi-private headers will be available as private/foo_p.h.

Variables

TypeNameDescription
InputTARGETHeaders are installed to QtopiaSdk:/include/$$MODULE_NAME
OutputHEADERS_SYNCQTOPIAThe location of the syncqtopia script is stored in this variable.

See also QBuild Extensions and QBuild Script.


Copyright © 2009 Trolltech
Qt Extended - QBuild Maintainer Guide