diff options
author | Donald Carr <donald.carr@nokia.com> | 2012-03-07 00:11:44 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-15 11:40:50 +0100 |
commit | 0738c38f0ec435ad4510a1c8eb60f74a2ba46a2f (patch) | |
tree | 54cc75aa2e2769959afb3786ebcbae629bee04ad /src | |
parent | 7ae2ea54269654736a6b88ff090a0f5a8cbe5eac (diff) |
Add Qt Widgets opt out support to build system
There should be a clear QWidget free path for people with no interest in
legacy QWidget functionality. Adding this option to configure makes this
path readily accessible and hence testable.
Change-Id: If87c1063fcf4c46f5280836126c11999feaa9f8a
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/plugins.pro | 2 | ||||
-rw-r--r-- | src/src.pro | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro index 177f64c71b..0855847177 100644 --- a/src/plugins/plugins.pro +++ b/src/plugins/plugins.pro @@ -2,7 +2,7 @@ TEMPLATE = subdirs SUBDIRS *= sqldrivers bearer !contains(QT_CONFIG, no-gui): SUBDIRS *= imageformats -!isEmpty(QT.widgets.name): SUBDIRS += accessible +!contains(QT_CONFIG, no-widgets): SUBDIRS += accessible SUBDIRS += platforms platforminputcontexts generic diff --git a/src/src.pro b/src/src.pro index 1c38dce6bc..4efa017065 100644 --- a/src/src.pro +++ b/src/src.pro @@ -65,6 +65,7 @@ src_concurrent.target = sub-concurrent src_plugins.depends = src_gui src_sql src_xml src_platformsupport } +contains(QT_CONFIG, no-widgets): SRC_SUBDIRS -= src_opengl src_widgets src_printsupport src_testlib # This creates a sub-src rule sub_src_target.CONFIG = recursive |