forked from qt-creator/qt-creator
Fix build without QWebSockets
Disable QmlDesigner if it is not available. The dependency leaks from devicesharing into the rest of QmlDesigner via includes and dependencies on Device in other parts. Change-Id: I11fb2c3fcd6f284ccc815110bb7dbb1c036625f7 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -47,7 +47,7 @@ find_package(Qt6 QUIET COMPONENTS WebSockets WebEngineWidgets)
|
|||||||
|
|
||||||
add_qtc_plugin(QmlDesigner
|
add_qtc_plugin(QmlDesigner
|
||||||
PLUGIN_RECOMMENDS QmlPreview
|
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
|
PLUGIN_DEPENDS
|
||||||
Core
|
Core
|
||||||
ProjectExplorer
|
ProjectExplorer
|
||||||
|
Reference in New Issue
Block a user