diff --git a/src/plugins/qmlpreview/CMakeLists.txt b/src/plugins/qmlpreview/CMakeLists.txt index 4b537c4cf97..02435547d82 100644 --- a/src/plugins/qmlpreview/CMakeLists.txt +++ b/src/plugins/qmlpreview/CMakeLists.txt @@ -1,4 +1,5 @@ add_qtc_plugin(QmlPreview + CONDITION TARGET QmlProjectManager PUBLIC_DEPENDS QmlDebug DEPENDS QmlJS PLUGIN_DEPENDS diff --git a/src/plugins/qmlprojectmanager/CMakeLists.txt b/src/plugins/qmlprojectmanager/CMakeLists.txt index ee8fa21c4f1..ed6a1a6ccde 100644 --- a/src/plugins/qmlprojectmanager/CMakeLists.txt +++ b/src/plugins/qmlprojectmanager/CMakeLists.txt @@ -1,4 +1,5 @@ add_qtc_plugin(QmlProjectManager + CONDITION TARGET Qt5::QuickWidgets PLUGIN_CLASS QmlProjectPlugin DEPENDS QmlJS Qt5::QuickWidgets PLUGIN_DEPENDS Core ProjectExplorer QtSupport diff --git a/tests/auto/qml/qmldesigner/coretests/CMakeLists.txt b/tests/auto/qml/qmldesigner/coretests/CMakeLists.txt index f81c14c74fa..06fb53602c5 100644 --- a/tests/auto/qml/qmldesigner/coretests/CMakeLists.txt +++ b/tests/auto/qml/qmldesigner/coretests/CMakeLists.txt @@ -1,4 +1,5 @@ add_qtc_test(tst_qml_testcore + CONDITION TARGET QmlProjectManaer DEFINES QT_CREATOR QMLDESIGNER_TEST