forked from qt-creator/qt-creator
Tools: Use "QTC_" prefix for build-system environment variables
Change-Id: I4b75dce6a2c7bd794b8c330521292c86057e63ef Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -86,8 +86,8 @@ qtHaveModule(designercomponents_private) {
|
||||
warning("Qt Widget Designer plugin has been disabled since the Qt Designer module is not available.")
|
||||
}
|
||||
|
||||
DO_NOT_BUILD_QMLDESIGNER = $$(DO_NOT_BUILD_QMLDESIGNER)
|
||||
isEmpty(DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) {
|
||||
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 += qmldesigner
|
||||
} else {
|
||||
@@ -97,7 +97,7 @@ isEmpty(DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) {
|
||||
!qtHaveModule(quick-private) {
|
||||
warning("QmlDesigner plugin has been disabled since the Qt Quick module is not available.")
|
||||
} else {
|
||||
warning("QmlDesigner plugin has been disabled since DO_NOT_BUILD_QMLDESIGNER is set.")
|
||||
warning("QmlDesigner plugin has been disabled since QTC_DO_NOT_BUILD_QMLDESIGNER is set.")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@ SUBDIRS = qtpromaker \
|
||||
|
||||
isEmpty(QTC_SKIP_SDKTOOL): SUBDIRS += sdktool
|
||||
|
||||
DO_NOT_BUILD_QMLDESIGNER = $$(DO_NOT_BUILD_QMLDESIGNER)
|
||||
isEmpty(DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private): SUBDIRS += qml2puppet
|
||||
QTC_DO_NOT_BUILD_QMLDESIGNER = $$(QTC_DO_NOT_BUILD_QMLDESIGNER)
|
||||
isEmpty(QTC_DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private): SUBDIRS += qml2puppet
|
||||
|
||||
win32 {
|
||||
SUBDIRS += qtcdebugger \
|
||||
|
||||
@@ -9,13 +9,13 @@ SUBDIRS += \
|
||||
qrcparser \
|
||||
persistenttrie
|
||||
|
||||
DO_NOT_BUILD_QMLDESIGNER = $$(DO_NOT_BUILD_QMLDESIGNER)
|
||||
isEmpty(DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) {
|
||||
QTC_DO_NOT_BUILD_QMLDESIGNER = $$(QTC_DO_NOT_BUILD_QMLDESIGNER)
|
||||
isEmpty(QTC_DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) {
|
||||
SUBDIRS += qmldesigner
|
||||
} else {
|
||||
!qtHaveModule(quick-private) {
|
||||
warning("QmlDesigner plugin has been disabled since the Qt Quick module is not available.")
|
||||
} else {
|
||||
warning("QmlDesigner plugin has been disabled since DO_NOT_BUILD_QMLDESIGNER is set.")
|
||||
warning("QmlDesigner plugin has been disabled since QTC_DO_NOT_BUILD_QMLDESIGNER is set.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user