From 0eed1b3efafabc6f0eb72c4959451b9d78298d23 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Tue, 11 Jun 2024 19:21:47 +0200 Subject: [PATCH] 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 --- src/plugins/designer/CMakeLists.txt | 2 +- src/plugins/qtapplicationmanager/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/designer/CMakeLists.txt b/src/plugins/designer/CMakeLists.txt index d9da4cfaf4d..c8f84ffb2df 100644 --- a/src/plugins/designer/CMakeLists.txt +++ b/src/plugins/designer/CMakeLists.txt @@ -25,7 +25,7 @@ else() endif() add_qtc_plugin(Designer - PLUGIN_CLASS FormEditorPlugin + PLUGIN_CLASS DesignerPlugin CONDITION TARGET Qt::DesignerComponentsPrivate AND TARGET Qt::Designer DEPENDS designerintegrationv2 Qt::Designer Qt::PrintSupport Qt::DesignerComponentsPrivate diff --git a/src/plugins/qtapplicationmanager/CMakeLists.txt b/src/plugins/qtapplicationmanager/CMakeLists.txt index a49279eba10..6241cb1de36 100644 --- a/src/plugins/qtapplicationmanager/CMakeLists.txt +++ b/src/plugins/qtapplicationmanager/CMakeLists.txt @@ -4,6 +4,7 @@ add_qtc_plugin(QtApplicationManagerIntegration PLUGIN_DEPENDS Core Debugger ProjectExplorer QtSupport RemoteLinux + PLUGIN_CLASS AppManagerPlugin DEPENDS Qt::Network Qt::Widgets ExtensionSystem Utils yaml-cpp SOURCES appmanagerconstants.h