Qt6 migration: Update all target_link_libraries to use Qt6::Core, Qt6::Widgets, Qt6::Network, Qt6::Svg, Qt6::Xml, Qt6::Concurrent, Qt6::PrintSupport, Qt6::Sql, Qt6::Test, Qt6::WebSockets, Qt6::SerialPort instead of Qt5:: equivalents. Affected components: - Lts/Common: LtsRestClient, LtsWidgets - Lts/Application: THP, SitMapReplayTest - Lts/Plugins: ParticipantManagement, ServiceManagement - Lts/Services: VideoOverlayManagement - Lts/Tools: 18 tool CMakeLists.txt files Validated with BUILD_RTI=ON and BUILD_RTI=OFF - both builds successful. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
32 lines
636 B
CMake
32 lines
636 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
project(GuiElementPlugin CXX)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
|
|
SET(gui_element_SRCS
|
|
custom_widget.cpp
|
|
custom_widget.h
|
|
gui_element_plugin.cpp
|
|
gui_element_plugin.h
|
|
)
|
|
|
|
NGL_WRAP_UI(gui_element_SRCS
|
|
custom_widget.ui
|
|
)
|
|
|
|
NGL_ADD_LIBRARY(WS GuiElementPlugin MODULE ${gui_element_SRCS})
|
|
# Pfad zum Interface-Ordner bekannt machen
|
|
NGL_TARGET_INCLUDE_DIRECTORIES(GuiElementPlugin PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
|
|
|
NGL_TARGET_LINK_LIBRARIES(GuiElementPlugin
|
|
Qt6::Widgets
|
|
LtsWidgets
|
|
LtsSession
|
|
LtsSessionData
|
|
GuiElementInterface
|
|
PpmDataPluginInterface
|
|
PpmCommon
|
|
LtsCoordTrans
|
|
)
|