Commit 1789422d authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: Check for qmldir of QtQuick.Controls

If QtQuick Controls 1 are missing there is no reason to
build QmlDesigner.

Change-Id: Ic8777fef6addc460b05c8218d96aa13379f02cea
Reviewed-by: Mitch Curtis's avatarMitch Curtis <>
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent d294f917
......@@ -77,7 +77,11 @@ qtHaveModule(designercomponents_private) {
isEmpty(DO_NOT_BUILD_QMLDESIGNER):qtHaveModule(quick-private) {
SUBDIRS += qmldesigner
exists($$[QT_INSTALL_QML]/QtQuick/Controls/qmldir) {
SUBDIRS += qmldesigner
} else {
warning("QmlDesigner plugin has been disabled since Qt Quick Controls 1 are not installed.")
} else {
!qtHaveModule(quick-private) {
warning("QmlDesigner plugin has been disabled since the Qt Quick module is not available.")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment