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

Internationalization (build system)

When Qt Extended is configured there are two important variables that are set.

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