summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-07-03 21:38:21 +0200
committerQt by Nokia <qt-info@nokia.com>2012-07-11 23:33:44 +0200
commit107f587eb2ffae86432279e50baff76bb0a5ba89 (patch)
tree4d4327ae85090fa6808b8a75766865f9c6fb654d
parentff11bc5e3371ec3dfd911e40054bc6037d683190 (diff)
use centralized handling of QT_BUILD_PARTS
Change-Id: I2a9480646f65019e46753a02737ba5032a00883a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
-rw-r--r--qtjsondb.pro27
1 files changed, 2 insertions, 25 deletions
diff --git a/qtjsondb.pro b/qtjsondb.pro
index 62976bb5..457b7a18 100644
--- a/qtjsondb.pro
+++ b/qtjsondb.pro
@@ -2,34 +2,11 @@ load(configure)
qtCompileTest(icu)
qtCompileTest(libedit)
-TEMPLATE = subdirs
-
-module_qtjsondb_src.subdir = src
-module_qtjsondb_src.target = module-qtjsondb-src
-
-module_qtjsondb_tools.subdir = tools
-module_qtjsondb_tools.target = module-qtjsondb-tools
-module_qtjsondb_tools.depends = module_qtjsondb_src
-
-module_qtjsondb_tests.subdir = tests
-module_qtjsondb_tests.target = module-qtjsondb-tests
-module_qtjsondb_tests.depends = module_qtjsondb_src
-module_qtjsondb_tests.CONFIG = no_default_install
-!contains(QT_BUILD_PARTS,tests):module_qtjsondb_tests.CONFIG += no_default_target
-
-module_qtjsondb_examples.subdir = examples
-module_qtjsondb_examples.target = module-qtjsondb-examples
-module_qtjsondb_examples.depends = module_qtjsondb_src
-module_qtjsondb_examples.CONFIG = no_default_install
-!contains(QT_BUILD_PARTS,examples):module_qtjsondb_examples.CONFIG += no_default_target
+load(qt_parts)
win32 {
message("QtJsonDb is not currently supported on Windows - will not be built")
-} else {
- SUBDIRS += module_qtjsondb_src \
- module_qtjsondb_tools \
- module_qtjsondb_tests \
- module_qtjsondb_examples
+ SUBDIRS =
}
include(doc/doc.pri)