Qt Extended Home · Build System Home · Reference · User Guide · Internals |
When Qt Extended is configured there are two important variables that are set.
Set to include all detected languages. This variable is used by make lupdate to create .ts files for projects. Third party projects that wish to target a specific set of languages should set this variable.
Set to include all selected languages. This corresponds to the -languages switch accepted by configure. This variable is used to install .directory files which tell Qt Extended that a given language is available.
Conditional sources need to be specified using the TYPE=CONDITIONAL_SOURCES syntax so that the build system can see the conditional sources and translate them no matter the configuration that is being built.
FOO.TYPE=CONDITIONAL_SOURCES FOO.CONDITION=enable_my_condition FOO.HEADERS=foo.h FOO.SOURCES=foo.cpp !qbuild:CONDITIONAL_SOURCES(FOO)
This mechanism can be used to set the following variables.
See also Overviews, hint=nct, Non-code Translatables, and Internationalization.
Copyright © 2009 Nokia | Qt Extended - Build System Documentation |