From 673305349e7ca5626ded92f7a8cbf4f0a7ed5b1f Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Tue, 3 Jul 2012 21:30:17 +0200
Subject: [PATCH] use centralized handling of QT_BUILD_PARTS

Change-Id: Ie33c32028e48eb40815a3003db3cb805dba4a072
Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
---
 qtxmlpatterns.pro | 27 +--------------------------
 1 file changed, 1 insertion(+), 26 deletions(-)

diff --git a/qtxmlpatterns.pro b/qtxmlpatterns.pro
index bd5da3cb..afc36806 100644
--- a/qtxmlpatterns.pro
+++ b/qtxmlpatterns.pro
@@ -1,28 +1,3 @@
-TEMPLATE = subdirs
-
-module_qtxmlpatterns_src.subdir = src
-module_qtxmlpatterns_src.target = module-qtxmlpatterns-src
-
-module_qtxmlpatterns_tools.subdir = tools
-module_qtxmlpatterns_tools.target = module-qtxmlpatterns-tools
-module_qtxmlpatterns_tools.depends = module_qtxmlpatterns_src
-
-module_qtxmlpatterns_examples.subdir = examples/xmlpatterns
-module_qtxmlpatterns_examples.target = module-qtxmlpatterns-examples
-module_qtxmlpatterns_examples.depends = module_qtxmlpatterns_src
-!contains(QT_BUILD_PARTS,examples) {
-    module_qtxmlpatterns_examples.CONFIG = no_default_target no_default_install
-}
-
-module_qtxmlpatterns_tests.subdir = tests
-module_qtxmlpatterns_tests.target = module-qtxmlpatterns-tests
-module_qtxmlpatterns_tests.depends = module_qtxmlpatterns_src
-module_qtxmlpatterns_tests.CONFIG = no_default_install
-!contains(QT_BUILD_PARTS,tests):module_qtxmlpatterns_tests.CONFIG += no_default_target
-
-SUBDIRS += module_qtxmlpatterns_src \
-           module_qtxmlpatterns_tools \
-           module_qtxmlpatterns_examples \
-           module_qtxmlpatterns_tests \
+load(qt_parts)
 
 include (doc/doc.pri)
-- 
GitLab