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
@@ -112,12 +112,27 @@ IF(NOT TARGET ArcGIS::ArcGIS)
|
||||
# saw <Symbol.h> etc. Base-state defect carried over from the legacy Qt5 file
|
||||
# (identical overwrite of the Qt5 include dirs), never surfaced because the
|
||||
# ArcGIS-ON GROUP5 path was never validated in this pipeline.
|
||||
SET_PROPERTY(TARGET ArcGIS::ArcGIS APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
||||
$<TARGET_PROPERTY:Qt6::Core,INTERFACE_INCLUDE_DIRECTORIES>
|
||||
$<TARGET_PROPERTY:Qt6::Location,INTERFACE_INCLUDE_DIRECTORIES>
|
||||
$<TARGET_PROPERTY:Qt6::Network,INTERFACE_INCLUDE_DIRECTORIES>
|
||||
$<TARGET_PROPERTY:Qt6::Sensors,INTERFACE_INCLUDE_DIRECTORIES>
|
||||
)
|
||||
#
|
||||
# Only propagate the include dirs of Qt6 component targets that actually exist.
|
||||
# On a reconfigure the top-level find_package(Qt6 ... Positioning ...) is
|
||||
# short-circuited by the cached Qt6_*_DIR values, so the Qt6::Location /
|
||||
# Qt6::Sensors imported targets are NOT re-created even though the components
|
||||
# are "found" (Qt6Location_DIR/Qt6Sensors_DIR stay cached). A bare
|
||||
# $<TARGET_PROPERTY:Qt6::Location,...> on a missing target is a hard
|
||||
# "target not found" error at generate time. Guarding on TARGET keeps the
|
||||
# interface complete whenever the targets exist and skips them (instead of
|
||||
# crashing) when a reconfigure left them absent.
|
||||
SET(_arcgis_qt6_incs "")
|
||||
FOREACH(_arcgis_qt6_comp Core Location Network Sensors)
|
||||
IF(TARGET Qt6::${_arcgis_qt6_comp})
|
||||
LIST(APPEND _arcgis_qt6_incs
|
||||
$<TARGET_PROPERTY:Qt6::${_arcgis_qt6_comp},INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
ENDIF()
|
||||
ENDFOREACH()
|
||||
IF(_arcgis_qt6_incs)
|
||||
SET_PROPERTY(TARGET ArcGIS::ArcGIS APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
||||
${_arcgis_qt6_incs})
|
||||
ENDIF()
|
||||
|
||||
IF (UNIX)
|
||||
IF(ARCGIS_COMMON_LIBRARY_RELEASE)
|
||||
|
||||
@@ -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