  module_qtsystems_tests.target = module-qtsystems-tests
  module_qtsystems_tests.depends = module_qtsystems_src
 +module_qtsystems_tests.CONFIG = no_default_install
- !contains(QT_BUILD_PARTS,tests) {
+ !contains(QT_BUILD_PARTS,tests):!with-tests {
      module_qtsystems_tests.CONFIG = no_default_target no_default_install
  }
 @@ -14,6 +15,7 @@ module_qtsystems_tests.depends = module_qtsystems_src

 module_qtsystems_examples.target = module-qtsystems-exampels
 module_qtsystems_examples.depends = module_qtsystems_src
+module_qtsystems_examples.CONFIG = no_default_install
 !contains(QT_BUILD_PARTS,examples) {
     module_qtsystems_examples.CONFIG = no_default_target no_default_install
     warning("No examples being used")

diff --git a/qtsystems.pro b/qtsystems.pro
index 7a94ebc..1dd173b 100644
--- a/qtsystems.pro
+++ b/qtsystems.pro
@@ -7,6 +7,7 @@ module_qtsystems_src.target = module-qtsystems-src
