summaryrefslogtreecommitdiffstats
path: root/qt3d.pro
diff options
context:
space:
mode:
authorPeter Yard <peter.yard@nokia.com>2012-02-09 16:13:04 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-14 00:49:05 +0100
commit00d127f73034c0aa4b21db5ef13490ea2ddf65b8 (patch)
tree88e99ce16105c005ac8f2c0076b41f43bf647acb /qt3d.pro
parent1703179fb4229cc1a3a4ab3f9d32c442d484d8b2 (diff)
Integrate Qt3D into Qt5 and fix some qdoc errors.
This doc change by 'integrating into Qt5' also made some changes to the build system, so that now you need QT+=3d everywhere (instead of QT+=qt3d as it was previously). We have been asked to make this change, and it seems it is required for this doc system to work, so lets get it done. Note that the original change had a docsnippets target but that did not work at all and will have be done in a later commit. Change-Id: Icf4bc6b4be9494f1752e18ca1f5198c8fe8ecf53 Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Julian de Bhal <julian.debhal@nokia.com>
Diffstat (limited to 'qt3d.pro')
-rw-r--r--qt3d.pro46
1 files changed, 40 insertions, 6 deletions
diff --git a/qt3d.pro b/qt3d.pro
index feea17aee..ba837474b 100644
--- a/qt3d.pro
+++ b/qt3d.pro
@@ -1,12 +1,46 @@
TEMPLATE = subdirs
-SUBDIRS += src
-!gcov: SUBDIRS += util examples demos
-!package: SUBDIRS += tutorials
+module_qt3d_src.subdir = src
+module_qt3d_src.target = module-qt3d-src
-tests.CONFIG = no_default_install
-SUBDIRS += tests
-CONFIG += ordered
+module_qt3d_examples.subdir = examples
+module_qt3d_examples.target = module-qt3d-examples
+module_qt3d_examples.depends = module_qt3d_src
+!contains(QT_BUILD_PARTS,examples) {
+ module_qt3d_examples.CONFIG = no_default_target no_default_install
+}
+
+module_qt3d_demos.subdir = demos
+module_qt3d_demos.target = module-qt3d-demos
+module_qt3d_demos.depends = module_qt3d_src
+!contains(QT_BUILD_PARTS,examples) {
+ module_qt3d_demos.CONFIG = no_default_target no_default_install
+}
+
+module_qt3d_tutorials.subdir = tutorials
+module_qt3d_tutorials.target = module-qt3d-tutorials
+module_qt3d_tutorials.depends = module_qt3d_src
+module_qt3d_tutorials.CONFIG = no_default_target no_default_install
+
+module_qt3d_tests.subdir = tests
+module_qt3d_tests.target = module-qt3d-tests
+module_qt3d_tests.depends = module_qt3d_src
+module_qt3d_tests.CONFIG = no_default_install
+!contains(QT_BUILD_PARTS,tests):module_qt3d_tests.CONFIG += no_default_target
+
+module_qt3d_util.subdir = util
+module_qt3d_util.target = module-qt3d-util
+module_qt3d_util.depends = module_qt3d_src
+module_qt3d_util.CONFIG = no_default_target no_default_install
+
+SUBDIRS += module_qt3d_src \
+ module_qt3d_examples \
+ module_qt3d_demos \
+ module_qt3d_tests
+
+!package: SUBDIRS += module_qt3d_tutorials
+
+!gcov: SUBDIRS += module_qt3d_util
include(doc/doc.pri)