CMake: Fix static build of Qt Creator

The plugin class names were different, and this is important for static
plugins because the symbols wouldn't be found at linking time.

Change-Id: Ia2254e5ce811fe23daf12e445593980211b7cd47
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2024-06-11 19:21:47 +02:00
parent e9fd7e5c2c
commit 0eed1b3efa
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ else()
endif() endif()
add_qtc_plugin(Designer add_qtc_plugin(Designer
PLUGIN_CLASS FormEditorPlugin PLUGIN_CLASS DesignerPlugin
CONDITION TARGET Qt::DesignerComponentsPrivate AND TARGET Qt::Designer CONDITION TARGET Qt::DesignerComponentsPrivate AND TARGET Qt::Designer
DEPENDS designerintegrationv2 DEPENDS designerintegrationv2
Qt::Designer Qt::PrintSupport Qt::DesignerComponentsPrivate Qt::Designer Qt::PrintSupport Qt::DesignerComponentsPrivate

View File

@@ -4,6 +4,7 @@ add_qtc_plugin(QtApplicationManagerIntegration
PLUGIN_DEPENDS PLUGIN_DEPENDS
Core Debugger ProjectExplorer Core Debugger ProjectExplorer
QtSupport RemoteLinux QtSupport RemoteLinux
PLUGIN_CLASS AppManagerPlugin
DEPENDS Qt::Network Qt::Widgets ExtensionSystem Utils yaml-cpp DEPENDS Qt::Network Qt::Widgets ExtensionSystem Utils yaml-cpp
SOURCES SOURCES
appmanagerconstants.h appmanagerconstants.h