diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-10-28 21:59:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-31 19:49:15 +0100 |
commit | 3b6b615334713cbfeb43409ff104244b55f4ce1f (patch) | |
tree | 30857727afdc9325b93ce590789c1afaf8d6552a /dist/changes-3.3.1 | |
parent | 418e06f78f8b6cbc33b42f9b300c9c46c1ea2a32 (diff) |
export QT_NO_<foo> equivalents to the build system
this makes it possible to properly exclude entire subprojects based on the
availability of features, rather than stuffing every single source file
with #ifdefs.
the defines are aggregated from the -qconfig <profile>,
-no-feature-<foo> and some other configure flags.
usage:
load(qfeatures)
!contains(QT_DISABLED_FEATURES, textarea): SUBDIRS += textstuff
Task-number: QTBUG-28102
Change-Id: I83400632d64312fa4b907e1318dddfe27c432387
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
Diffstat (limited to 'dist/changes-3.3.1')
0 files changed, 0 insertions, 0 deletions