summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2020-02-21 11:35:43 +0200
committerOrgad Shaneh <orgads@gmail.com>2020-02-25 13:21:17 +0000
commitc063c6d407236b970f5b460e3f1b79605dbe6ffd (patch)
tree243ba15eeee2f4e3dfb9629b7ae13569f6e70ff9 /src
parentbb783eb81935a9163fdf613fab350685dd8d7c05 (diff)
downloadqt-creator-c063c6d407236b970f5b460e3f1b79605dbe6ffd.tar.gz
ADS: Only build if QmlDesigner is enabled
Change-Id: I8ca3bd5fab714e003ad05e502e5759f06ca77fed Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/libs/libs.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libs/libs.pro b/src/libs/libs.pro
index 40dce690eb..7213fa6631 100644
--- a/src/libs/libs.pro
+++ b/src/libs/libs.pro
@@ -3,7 +3,6 @@ include(../../qtcreator.pri)
TEMPLATE = subdirs
SUBDIRS += \
- advanceddockingsystem \
aggregation \
extensionsystem \
utils \
@@ -24,6 +23,13 @@ qtHaveModule(quick) {
tracing
}
+QTC_DO_NOT_BUILD_QMLDESIGNER = $$(QTC_DO_NOT_BUILD_QMLDESIGNER)
+isEmpty(QTC_DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) {
+ exists($$[QT_INSTALL_QML]/QtQuick/Controls/qmldir) {
+ SUBDIRS += advanceddockingsystem
+ }
+}
+
for(l, SUBDIRS) {
QTC_LIB_DEPENDS =
include($$l/$${l}_dependencies.pri)