Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Common/LtsPluginManager/CMakeLists.txt
T
torsten cf6d77c030 Add BUILD_RTI conditionals for RTI/DDS dependent libraries
Systematic fix for BUILD_RTI conditional compilation:
- Lts/Common: Wrap all DDS-dependent libraries in IF(BUILD_RTI)
  - LtsAppManager, LtsCoordTrans, LtsCoordinate, LtsLogin
  - LtsMultiMonitor, LtsPluginManager, LtsPrinting
  - LtsProjectionWorkstation, LtsScriptTimeline, LtsSession
  - LtsTimelineClassic, LtsUtilsCore, LtsUtilsGui, LtsUtilsGuiDds
- Lts/DDS: Add BUILD_RTI guards to Core, DDSConnector, DdsUnitTests, FTC, FTS
- Lts/Plugins: Add BUILD_RTI guards to FilterManagement, OperatorManagement, SituationReplayManagement
- Lts/Proxies: Add BUILD_RTI guards to Buildings, CombatNetRadio, ComponentMonitor, GuezNasat, TrainingAreaBase, TrainingAreaBaseOC
- Lts/Services: Add BUILD_RTI guards to all 30+ service modules
- Z/nglwidgets: Add BUILD_RTI guards, fix Poppler Qt6 headers

Qt6 compatibility fixes:
- LtsCoordTrans: QOverload signal signature, QChar constructor
- LtsMultiMonitor: setMargin→setContentsMargins, remove deprecated HighQualityAntialiasing
- nglwidgets: Poppler Qt5→Qt6 header migration
- Add FindPopplerQt6.cmake for Qt6 Poppler detection

Part of Qt5→Qt6 migration with RTI DDS support.
2026-08-19 00:12:28 +02:00

68 lines
1.2 KiB
CMake
Executable File

#
# $Id$
# $HeadURL$
# $Author$
# Created by Mike Wille, SLSE, 2016-05-20
#
# LtsPluginLoader
NGL_ADD_LIBRARY(ALL LtsPluginLoader SHARED lts_plugin_loader.cpp lts_plugin_loader.h)
NGL_TARGET_INCLUDE_DIRECTORIES(LtsPluginLoader
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/../
)
NGL_TARGET_LINK_LIBRARIES(LtsPluginLoader
PRIVATE
NGLLogger
PUBLIC
Qt6::Core
)
# LtsPluginManager
SET(ltspluginmanager_SRCS
lts_plugin_manager.h
lts_plugin_manager.cpp
Ui/lts_plugin_manager_dialog.h
Ui/lts_plugin_manager_dialog.cpp
Ui/lts_plugin_manager_widget.h
Ui/lts_plugin_manager_widget.cpp
lts_plugin_manager_export.h
)
NGL_WRAP_UI(ltspluginmanager_SRCS
Ui/lts_plugin_manager_dialog.ui
Ui/lts_plugin_manager_widget.ui
)
IF(BUILD_RTI)
NGL_ADD_LIBRARY(WS LtsPluginManager SHARED ${ltspluginmanager_SRCS})
NGL_TARGET_INCLUDE_DIRECTORIES(LtsPluginManager
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/../
)
NGL_TARGET_LINK_LIBRARIES(LtsPluginManager
PRIVATE
NGLLogger
LtsPluginLoader
GuiPluginInterface
DataPluginInterface
LtsWidgets
LtsSession
LtsSessionData
Qt6::Widgets
PUBLIC
ProjectConfig
LtsAppDescriptor
Qt6::Core
)
NGL_INSTALL_TARGET(LtsPluginManager)
ENDIF(BUILD_RTI)
NGL_INSTALL_TARGET(LtsPluginLoader)