Fix build of Designer plugin

Qt 6 has Qt(6)::DesignerComponentsPrivate instead of DesignerComponents

Amends 55fa109b59

Change-Id: I96e152dd1e69095ca23784a5ac92f214b39fa608
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Eike Ziller
2023-01-10 09:58:49 +01:00
parent a298e11e0c
commit 8d6c168631

View File

@@ -1,8 +1,8 @@
add_qtc_plugin(Designer
PLUGIN_CLASS FormEditorPlugin
CONDITION TARGET Qt::DesignerComponents AND TARGET Qt::Designer
CONDITION TARGET Qt::DesignerComponentsPrivate AND TARGET Qt::Designer
DEPENDS designerintegrationv2
Qt::Designer Qt::PrintSupport Qt::DesignerComponents
Qt::Designer Qt::PrintSupport Qt::DesignerComponentsPrivate
DEFINES CPP_ENABLED
PLUGIN_DEPENDS Core CppEditor ProjectExplorer QtSupport ResourceEditor TextEditor
PLUGIN_TEST_DEPENDS CppEditor
@@ -33,7 +33,7 @@ add_qtc_plugin(Designer
)
extend_qtc_plugin(Designer
CONDITION WITH_TESTS AND TARGET Qt::DesignerComponents AND TARGET Qt::Designer
CONDITION WITH_TESTS
SOURCES gotoslot_test.cpp
)