berrux-dev
cf62b17d58
Reworks CMake wiring for Qt6 codegen include order
...
Adds missing toolchain packages and include dirs so generated headers resolve.
2026-09-21 02:42:27 +02:00
berrux-dev
58a383d212
Adds manual Qt6 WebSockets import and availability macro
2026-09-18 17:49:15 +02:00
torsten
4de31193b6
Migrates lts/services/f*
2026-09-17 10:22:08 +00:00
torsten
86f331341a
Integrates unittests for lts/services/s almost successfull into final validation phase
2026-09-17 07:13:12 +00:00
torsten
80d73fc330
Integrates unittests for Lts/Services/S* into validation step
2026-09-16 19:13:40 +00:00
torsten
f217207675
Unifies forward-declations forlder into single point of truth
2026-09-14 09:27:30 +00:00
torsten
290d9c1f5d
Moves remaining few files to common subfolders
2026-09-14 08:49:36 +00:00
torsten
6aa040abb3
Physically moves sub files to common folder
2026-09-12 16:32:02 +00:00
torsten
50c4a6fbc0
Strictly resolve CMake warnings in the Docker build.
2026-09-11 17:17:00 +00:00
torsten
ba1d9e2c04
Migration of Legatus codebase to Qt6 with RTI Connext DDS 7.7 integration is partially complete. Core DDS targets build successfully, but ProjectDataManagement module blocks full ddsfts compilation due to IDL definition conflicts.
2026-09-07 19:30:39 +02:00
torsten
b656e1aaa9
Resolves latest issues in Lts/Common Lts/DDS
2026-09-06 18:45:59 +02:00
torsten
e398f4903d
Infrastructure fixes in Lts/Services/RoutingServiceNG only
2026-09-05 19:45:43 +02:00
torsten
c270b7ebe7
Integrates qt6-ported code generator into qt6-overall-build-pipeline
2026-09-04 15:31:59 +02:00
torsten
0c1503d85c
Adds latest migration results
2026-09-01 12:27:57 +02:00
torsten and Copilot
ad07345480
Grantlee Templates: Fix namespace resolution for RTI DTC generation
...
- Changed {{ namespace }}::{{ dt.type }} to ::{{ namespace }}::{{ dt.type }}
in svc_dtc.h.grantlee, svc_dtc_impl.cpp.grantlee, svc_dtc_impl.h.grantlee
- Ensures absolute namespace resolution for Core::* types
- Fixes MOC/compilation errors for CurrentRunningState, LockedEntity, etc.
- Updated CMakeLists.txt for RTI 7.7.0 detection with DDS_PATH
- Fixed RTI include paths (ndds/hpp and ndds directories)
- Updated Lts/DDS module files for Qt6/RTI 7.7 compatibility
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-31 12:51:26 +02:00
torsten and Copilot
497baa804b
Qt6/RTI 7.7 Migration: Build-System und RTI-Integration fixes
...
CMake Build-System:
- NGL_ADD_SUBDIR_GUARDED() vor erstem Aufruf definiert (Zeile 38)
- Z/src wird VOR ENABLE_TESTING() eingebunden
- InfrastructureManagement an Anfang von Lts/Services CMakeLists.txt
- ALIAS Targets für RTI nur für existierende Libraries erstellt
RTI 7.7 Integration:
- generic_base.h: QMetaMethod Include hinzugefügt
- generic_data_reader.h: Template-Signatur auf 2 Parameter angepasst
- detail::DataReaderImpl<Q> als Default-Template-Parameter
Qt6 Location Support:
- Dockerfile: qtlocation und qtpositioning Module hinzugefügt
Dokumentation:
- C++23 Inkompatibilität mit RTI 7.7 in copilot-instructions.md
- EXTERNAL_DEPENDENCIES.md Strategie dokumentiert
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-30 13:36:41 +02:00
torsten
a9c5b2181e
RTI Target-Kollisionen behoben, QDebug operator<< für FileStatus
...
- CMakeLists.txt: ALIAS Targets nur für existierende RTI-Libraries (Zeilen 254-285)
- Keine INTERFACE-Placeholder für ddsftc/ddsfts/ddsconnector (Module definieren eigene Targets)
- flm_enums.hpp: QDebug operator<< für FileStatus enum class implementiert
BUILD_RTI=ON: Configure erfolgreich nach Target-Fix
2026-08-30 12:34:39 +02:00
torsten
851d47e114
BUILD_RTI=OFF: 1902/1902 Targets erfolgreich, DDS-Stubs vervollständigt
...
Neue Stub-Header für BUILD_RTI=OFF Konfiguration:
- include/DDS/Generic/generic_base.h: Topic-Name-Templates, Helper-Funktionen
- include/DDS/Generic/generic_logger.h: Logger-Wrapper mit DataType-Enum
- include/DDS/Generic/ddsgen_export.h: Export-Makros (leer für OFF)
- include/DDS/Generic/generic_data_reader.h: Data Reader Template-Stub
- include/DDS/DTC/generic_dtc.h: Minimale DDS-Typen für DTC
- include/LtsUtils/LtsUtilsCore/data_modification_enum.h: DataModification Enum
- include/FileManagement/flm_dtc_impl.h: Virtuelle Methoden für Name-Helper
- include/OperatorManagement/opm_dtc_impl.h: DtcImpl ohne Q_OBJECT
Wichtige Änderungen:
- QObject-Basisklasse entfernt für DatabaseInterfaceImpl und DtcImpl (BUILD_RTI=OFF)
- Logger-Stub verwendet Qt-Logging (qDebug/qWarning/qCritical)
- FileStatus als int-Alias statt enum class für BUILD_RTI=OFF
- CMake: DDS-Bibliotheken als leere INTERFACE-Targets für BUILD_RTI=OFF
- std::optional: is_set() → has_value(), get() → value()
- QList → std::vector Konversionen korrigiert
- qAsConst-Fehler mit rvalue expressions behoben
Build-Status: 1902/1902 Targets erfolgreich (BUILD_RTI=OFF)
Tests: Nicht ausführbar ohne RTI Connext DDS (BUILD_RTI=ON erforderlich)
2026-08-30 10:36:47 +02:00
torsten
bb1447c858
Qt6 migration fixes: RTI DDS alias targets, ErrorMessage namespace, DDS header include path
2026-08-27 09:02:26 +02:00
torsten
f6c2ac04f9
Fix tests CMakeLists for MIGRATE_MODULE builds
...
- Top-level CMakeLists.txt: Skip tests subdirectory when MIGRATE_MODULE is set
(tests require full codebase with cross-module dependencies)
- tests/CMakeLists.txt: Add conditional checks for CodeGen and LtsTimelineClassic targets
- Filter Grantlee tests BEFORE creating executable (fix order)
- Exclude CodeGen tests when codegen_base target unavailable
- Exclude LtsTimelineClassic tests when target unavailable
- Make LtsTimelineClassic linking conditional with if(TARGET)
This enables clean BUILD_RTI=OFF builds during incremental module migration
with MIGRATE_MODULE flag.
2026-08-24 10:55:53 +02:00
torsten and Copilot
8d456c7d1a
BUILD_RTI DDS Module Guard Fixes
...
- Add missing m_logger member declarations to GenericDataWriter,
GenericDataReader, GenericDtcImplSubscriberTemplate
- Add DynamicDataImpl.hpp include for complete type in publisher.h/cpp
- Wrap dds_connector.cpp implementation in #if BUILD_RTI guards
- Fix stub signatures in dds_connector.h to match implementation
- Set CMAKE_CXX_STANDARD to 17 (RTI 7.7.0 hard requirement)
RTI Connext DDS 7.7.0 only supports C++14/C++17. C++20/23 causes
header compilation errors. Cannot mix C++ variants.
Remaining Qt6 issues (separate from RTI work):
- QJsonDocument::toBinaryData/fromBinaryData → toJson/fromJson
- QJsonObject initializer list syntax in training_area_telegrams.cpp
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-23 14:39:10 +02:00
torsten and Copilot
ec75789fae
BUILD_RTI: Fix 4 compile errors and add missing type headers
...
- generic_base.h: Fix dds::topic namespace issue, move RTI includes inside BUILD_RTI guard
- wait_set_handler.h: Remove duplicate m_logger declarations (3→1)
- pub_sub_base.cpp: Fix constructor initializer list syntax (.→,), add m_logger initialization
- training_area_telegrams.h: Fix field naming (m_ prefix) for accessor methods
- PdmComboBox CMakeLists.txt: Add BUILD_RTI AND TARGET guards for svcPdmCommon/svcPdmClient
- PdmDataPlugin CMakeLists.txt: Wrap svcPdmClient link in BUILD_RTI guard
- CMakeLists.txt: Add RTI_UNIX, RTI_POSIX_THREADS compile definitions, remove duplicate add_subdirectory
- alm_types.h, ppm_types.h: Copy missing type headers from include/ directories
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-23 13:15:31 +02:00
torsten
3cc3129de0
BUILD_RTI guards for DDS/Routing modules + logger init fixes
...
- Lts/DDS: Add BUILD_RTI guards to pacemaker.h, dds_connector.h,
generic_fts_* files, generic_base.h, routing_plugin.h
- Lts/Services/RoutingServiceNG: Add BUILD_RTI guards to session.h/cpp,
connection.h/cpp, data_writer_task.h/cpp
- Fix C++23 reference member initialization: use getLogger() instead of
getNGLLogger() in constructor initializer lists
- Root CMakeLists.txt: Add Lts/DDS to include_directories
- Fix export header generation order (GENERATE_EXPORT_HEADER before
TARGET_INCLUDE_DIRECTORIES)
- Remove auto-generated stub files (external deps collected separately)
2026-08-21 21:57:27 +02:00
torsten
950d669538
Qt6 Migration: BUILD_RTI guards und CMake fixes
...
- BUILD_RTI conditional compilation für RTI Connext DDS dependencies
- Namespace fixes in core_dtc.h (Core:: → DDS::Core::)
- CMakeLists.txt: BUILD_RTI option und conditional dependencies
- Handler minelayer: namespace closing mit BUILD_RTI guard
- Build erfolgreich mit BUILD_RTI=OFF validiert
Signed-off-by: Torsten Wierschin <torsten.wierschin@life-maps.com >
2026-08-21 18:37:18 +02:00
torsten and Copilot
d890b11c5f
Qt6 Migration: LtsWidgets, BUILD_RTI Guards, externe Dependencies dokumentiert
...
- LtsWidgets Verzeichnis vollständig migriert (Qt5→Qt6)
- BUILD_RTI Guards für RTI-spezifische Module hinzugefügt
- Externe Dependencies in EXTERNAL_DEPS.md dokumentiert
- Qt6 API-Änderungen: QRegExp→QRegularExpression, enterEvent(QEnterEvent*)
- AutoUic-Fehler bei ui_requirement behoben (SKIP_AUTOUIC)
- Include-Pfade korrigiert (LtsElevation, LtsMultiMonitor, LtsUtilsCore)
- MOC-Fehler behoben (Q_INTERFACES entfernt wo nicht benötigt)
- CMakeLists.txt Anpassungen für Qt6 (PUBLIC statt INTERFACE)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-21 10:29:34 +02:00
torsten
27fe03a03a
WIP: Build fixes und EXTERNAL_DEPENDENCIES.md
2026-08-21 07:04:40 +02:00
torsten and Copilot
e22dd98040
LtsSession: STUB-Unterstützung und Build-Fixes
...
- lts_session_data_dds.h/cpp: BUILD_RTI guards für STUB/Real-Implementation
- Include-Pfad fix: DDS/QosProfile/DDS_DefaultQos (ohne .h)
- CMakeLists.txt: qtservice_export.h Includer Pfad korrigiert
- AdvancedSymbology/Data: Qt6 Core5Compat Verlinkung
RTI License: ~/swy/sandbox/rti_license.dat (leer, vom Installer)
ArcGIS SDK: ./external/ArcGIS/MapsSDK_Qt_300.0.0/
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-21 01:49:35 +02:00
torsten
b9a807c92a
RTI BUILD_RTI=OFF Workaround und External Dependencies Dokumentation
...
- BUILD_RTI Default auf OFF gesetzt (GCC-Inkompatibilität mit RTI 7.7.0)
- RTI_INCLUDE_DIRS mit vier Pfaden konfiguriert (include/, include/ndds/, include/ndds/hpp, include/rti)
- RTI_LINUX Compile-Definition zu IMPORTED Targets hinzugefügt
- RTI IMPORTED Targets manuell erstellt (nddsc, nddscore, nddscpp, nddscpp2)
- cnr_frequency_planning_helper.h: Fehlende Qt-Includes hinzugefügt
- EXTERNAL_DEPENDENCIES.md erstellt zur Dokumentation fehlender Dependencies
Temporärer Workaround bis RTI-Version mit GCC 13.x Kompatibilität verfügbar ist.
2026-08-20 21:11:22 +02:00
torsten and Copilot
b1ff110439
LtsSession: STUB-Entfernung und Build-Fixes
...
- Alle LtsSession STUB-Dateien entfernt (lts_session_stub.*, lts_session_data_dds_stub.*, lts_session_lock_handler_stub.*)
- ElevationMap STUB-Verzeichnis gelöscht
- BUILD_RTI=ON als Default in CMakeLists.txt
- RTI-Connext manuelle Pfad-Konfiguration (include_directories, link_directories)
- TARGET_COMPILE_DEFINITIONS für BUILD_RTI hinzugefügt
- lts_session.h: QObject-Include korrigiert (qobjectdefs.h → QObject)
- lts_session_lock_handler.h: Vollständiger STUB für RTI-Typen (void*/minimal)
- cnr_frequency_planning_helper.h: avm_enums_stub.hpp → avm_enums.hpp, zirkulären Selbst-Include entfernt
- CombatNetRadio CMakeLists.txt: Include-Pfad korrigiert (../../Services/AudioVideoManagement/ → ../../)
- CMakeLists.txt Zeile 146: Qt6 Version 5.9.0 → 6.10.2 korrigiert
- SituationMap CMakeLists.txt: ElevationMap-Dependency entfernt (fehlende external dep)
- avm_translation.h: avm_enums_stub.hpp → avm_enums.hpp
Build erfolgreich mit 1941 Targets.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-20 20:33:20 +02:00
torsten
72cbe318b6
Adds further migration results and moves generated tests in
2026-08-19 21:21:59 +02:00
torsten and Copilot
bafed3705f
Qt6 migration: LtsWidgets API fixes, LtsWebSocket logger init, RTI Docker install
...
- LtsWidgets: Fixed Qt6 API compatibility issues
- QWheelEvent::delta() → angleDelta().y()
- QStyleOption::init() → initFrom()
- QComboBox activated signal signature change
- QTextCodec removal (UTF-8 default in Qt6)
- Missing widget includes added
- LtsWebSocket: Fixed m_logger reference initialization
- Added NGLLoggerBootstrap includes
- Proper initialization in constructor initializer lists
- CMake: Added BUILD_LTSWEBSOCKET option for temporary exclusion
- Docker: RTI Connext permanent installation script added
- ci/install-rti-in-docker.sh for persistent RTI setup
- Removes need for volume mounting RTI into container
- BUILD options: FilterManagement, RTI, Codification, Grantlee, LtsWebSocket
can be disabled for partial builds during migration
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-19 14:04:26 +02:00
torsten and Copilot
4c9861a469
BUILD_RTI conditional fixes and Qt6 API updates
...
- cmake/FindRTI.cmake: Add INTERFACE placeholder targets when RTI not found
- cmake/FindRTI.cmake: Force BUILD_RTI=OFF when RTI not installed
- Lts/Common/LtsSession/CMakeLists.txt: Make LtsSessionDataDds conditional on BUILD_RTI
- Lts/Viewer/CMakeLists.txt: Make LtsDataView conditional on BUILD_RTI
- Lts/Plugins/*/CMakeLists.txt: 97 plugin files wrapped in BUILD_RTI conditionals
- cmake/NGLMacros.cmake: Fix NGL_ADD_BIG_RESOURCES macro (removed premature return())
- Multiple Qt6 API fixes: QLinkedList→std::list, QStringRef→QStringView, etc.
- BUILD_RTI_FIXES_SUMMARY.md: Comprehensive documentation of all fixes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-19 09:24:50 +02:00
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
torsten
6a2a0667ab
Adds immediate migration results
2026-08-18 22:12:24 +02:00
torsten
d176b5e0d7
Adds initial intermediate qt6 porting state
2026-08-17 17:54:56 +02:00