Configure Qt with `-nomake tests' if you don't want the tests.
Reviewed-by: Jason McDonald
Change-Id: I505b7e0d2e3b182f735a7cc06bae538dbb287e9a
module_qttools_tests.subdir = tests
module_qttools_tests.target = module-qttools-tests
module_qttools_tests.depends = module_qttools_src
-module_qttools_tests.CONFIG = no_default_target no_default_install
+module_qttools_tests.CONFIG = no_default_install
+!contains(QT_BUILD_PARTS,tests):module_qttools_tests.CONFIG += no_default_target
SUBDIRS += module_qttools_src \
module_qttools_tests \