Skip to content
Snippets Groups Projects
Commit 4c614d97 authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Thomas Hartmann
Browse files

QmlDesigner: Make it easier to disable QmlDesigner


Exporting DO_NOT_BUILD_QMLDESIGNER disables the build of
the QmlDesigner plugin.

Change-Id: Ia3809268816cd84ef23b872f8df4709e381b3618
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent a4b47282
No related branches found
No related tags found
No related merge requests found
...@@ -51,10 +51,16 @@ SUBDIRS = \ ...@@ -51,10 +51,16 @@ SUBDIRS = \
beautifier \ beautifier \
qmakeandroidsupport \ qmakeandroidsupport \
winrt \ winrt \
qmldesigner \
qmlprofiler \ qmlprofiler \
welcome welcome
DO_NOT_BUILD_QMLDESIGNER = $$(DO_NOT_BUILD_QMLDESIGNER)
isEmpty(DO_NOT_BUILD_QMLDESIGNER) {
SUBDIRS += qmldesigner
} else {
warning("QmlDesigner plugin has been disabled.")
}
isEmpty(QBS_INSTALL_DIR): QBS_INSTALL_DIR = $$(QBS_INSTALL_DIR) isEmpty(QBS_INSTALL_DIR): QBS_INSTALL_DIR = $$(QBS_INSTALL_DIR)
exists(../shared/qbs/qbs.pro)|!isEmpty(QBS_INSTALL_DIR): \ exists(../shared/qbs/qbs.pro)|!isEmpty(QBS_INSTALL_DIR): \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment