summaryrefslogtreecommitdiffstats
path: root/qtsensors.pro
diff options
context:
space:
mode:
Diffstat (limited to 'qtsensors.pro')
-rw-r--r--qtsensors.pro26
1 files changed, 3 insertions, 23 deletions
diff --git a/qtsensors.pro b/qtsensors.pro
index 575c2264..daeb9760 100644
--- a/qtsensors.pro
+++ b/qtsensors.pro
@@ -1,29 +1,9 @@
-TEMPLATE = subdirs
-
-SUBDIRS += module_qtsensors_src
-module_qtsensors_src.subdir = src
-module_qtsensors_src.target = module-qtsensors-src
-
-SUBDIRS += module_qtsensors_tests
-module_qtsensors_tests.subdir = tests
-module_qtsensors_tests.target = module-qtsensors-tests
-module_qtsensors_tests.depends = module_qtsensors_src
-!contains(QT_BUILD_PARTS,tests) {
- module_qtsensors_tests.CONFIG += no_default_target no_default_install
-}
-
-SUBDIRS += module_qtsensors_examples
-module_qtsensors_examples.subdir = examples
-module_qtsensors_examples.target = module-qtsensors-examples
-module_qtsensors_examples.depends = module_qtsensors_src
-!contains(QT_BUILD_PARTS,examples) {
- module_qtsensors_examples.CONFIG = no_default_target no_default_install
-}
+load(qt_parts)
SUBDIRS += module_qtsensors_snippets
module_qtsensors_snippets.subdir = doc/src/snippets
-module_qtsensors_snippets.target = module-qtsensors-snippets
-module_qtsensors_snippets.depends = module_qtsensors_src
+module_qtsensors_snippets.target = sub-snippets
+module_qtsensors_snippets.depends = sub_src
# Commands to rebuild the plugin.qmltypes files for our imports
# Run "make rebuild_qmltypes" after completing a build