summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2017-10-04 15:51:40 +0200
committerOliver Wolff <oliver.wolff@qt.io>2017-10-05 10:19:44 +0000
commitacc7269b3465ac503f18b4dd759a414c1aadf290 (patch)
tree90f71de4ed1b93c564a247f8d0be556090bbc160
parentde6b61fd34e7e316607a1904605e895ca27bbcbd (diff)
Do not entirely skip designer if there is no process support
As UiTools and UiPlugin can be built without any process support, these parts should be built on platforms that have support for them (winrt for example). Task-number: QTBUG-63597 Change-Id: I0928b4e229f44abfbb89692a82d1d7ad8e794227 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
-rw-r--r--src/designer/src/src.pro23
-rw-r--r--src/src.pro8
2 files changed, 17 insertions, 14 deletions
diff --git a/src/designer/src/src.pro b/src/designer/src/src.pro
index 6915e34e9..79e9e64ee 100644
--- a/src/designer/src/src.pro
+++ b/src/designer/src/src.pro
@@ -2,18 +2,23 @@ TEMPLATE = subdirs
SUBDIRS = \
uiplugin \
- uitools \
- lib \
- components \
- designer
+ uitools
+
+qtConfig(process) {
+ SUBDIRS += \
+ lib \
+ components \
+ designer
+
+ lib.depends = uiplugin
+ components.depends = lib
+ designer.depends = components
+ plugins.depends = lib
-contains(QT_CONFIG, shared): SUBDIRS += plugins
+ contains(QT_CONFIG, shared): SUBDIRS += plugins
+}
uitools.depends = uiplugin
-lib.depends = uiplugin
-components.depends = lib
-designer.depends = components
-plugins.depends = lib
qtNomakeTools( \
lib \
diff --git a/src/src.pro b/src/src.pro
index 13d9ec089..41064a5d5 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -5,12 +5,10 @@ qtHaveModule(widgets) {
message("Some graphics-related tools are unavailable without PNG support")
} else {
SUBDIRS = assistant \
- pixeltool
+ pixeltool \
+ designer
- qtConfig(process) {
- SUBDIRS += designer
- linguist.depends = designer
- }
+ linguist.depends = designer
}
}