Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
This commit is contained in:
1 parent
eb1d949edc
commit
815e16368e
1718 files changed
+126739
-18495
No files matched your search
@@ -55,6 +55,27 @@ IF(KDReports_FOUND)
|
||||
SET_PROPERTY(TARGET KDReports::KDReports PROPERTY IMPORTED_LOCATION "${KDREPORTS_LIBRARY}")
|
||||
SET_PROPERTY(TARGET KDReports::KDReports PROPERTY INTERFACE_COMPILE_DEFINITIONS "")
|
||||
SET_PROPERTY(TARGET KDReports::KDReports APPEND PROPERTY INTERFACE_LINK_LIBRARIES ${_qt_prefix}::Core ${_qt_prefix}::Gui ${_qt_prefix}::PrintSupport ${_qt_prefix}::Widgets)
|
||||
|
||||
# KDReports headers use Qt5-style bare includes (#include <QPrinter>, ...). In Qt6
|
||||
# the forwarding headers live in <QtPrefix>/include/QtPrintSupport. The Qt6::PrintSupport
|
||||
# target may resolve to a no-include stub in this build, so expose the module include
|
||||
# dir directly to guarantee the bare include resolves for every KDReports consumer.
|
||||
SET(_kd_qt6_prefix "")
|
||||
IF(DEFINED Qt6_DIR AND EXISTS "${Qt6_DIR}")
|
||||
GET_FILENAME_COMPONENT(_kd_qt6_prefix "${Qt6_DIR}/../../.." ABSOLUTE)
|
||||
ENDIF()
|
||||
SET(_kd_printsupport_inc "")
|
||||
IF(_kd_qt6_prefix AND EXISTS "${_kd_qt6_prefix}/include/QtPrintSupport")
|
||||
SET(_kd_printsupport_inc "${_kd_qt6_prefix}/include/QtPrintSupport")
|
||||
ELSE()
|
||||
FIND_PATH(_kd_printsupport_inc QPrinter
|
||||
PATHS /usr/include/x86_64-linux-gnu/qt6/QtPrintSupport /usr/include/qt6/QtPrintSupport
|
||||
NO_DEFAULT_PATH)
|
||||
ENDIF()
|
||||
IF(_kd_printsupport_inc AND NOT _kd_printsupport_inc-NOTFOUND)
|
||||
SET_PROPERTY(TARGET KDReports::KDReports APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${_kd_printsupport_inc}")
|
||||
MESSAGE(STATUS "KDReports: exposing Qt6 QtPrintSupport include dir: ${_kd_printsupport_inc}")
|
||||
ENDIF()
|
||||
ELSE()
|
||||
IF(NOT TARGET KDReports::KDReports)
|
||||
ADD_LIBRARY(KDReports::KDReports UNKNOWN IMPORTED)
|
||||
|
||||
Reference in new issue
Block a user