diff --git a/src/plugins/qmldesigner/CMakeLists.txt b/src/plugins/qmldesigner/CMakeLists.txt index 72aa9521d5d..c3ee926a7e1 100644 --- a/src/plugins/qmldesigner/CMakeLists.txt +++ b/src/plugins/qmldesigner/CMakeLists.txt @@ -47,7 +47,7 @@ find_package(Qt6 QUIET COMPONENTS WebSockets WebEngineWidgets) add_qtc_plugin(QmlDesigner PLUGIN_RECOMMENDS QmlPreview - CONDITION TARGET QmlDesignerCore AND TARGET Qt::QuickWidgets AND TARGET Qt::Svg + CONDITION TARGET QmlDesignerCore AND TARGET Qt::QuickWidgets AND TARGET Qt::Svg AND TARGET Qt::WebSockets PLUGIN_DEPENDS Core ProjectExplorer