Commit Graph
170 Commits
Author SHA1 Message Date
torstenandCopilot 9db7dd604c Fix Qt5:: target references and add missing participant_info header
- Replace all Qt5:: target references with Qt6:: in 26 CMakeLists.txt files
- Add missing participant_info_gui_element_interface.h to ParticipantManagement plugin

Qt6 migration: All CMake target_link_libraries now use Qt6::Core, Qt6::Widgets,
Qt6::Network instead of Qt5:: equivalents.

Validated with BUILD_RTI=ON and BUILD_RTI=OFF - both builds successful.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 19:37:55 +00:00
torsten 03c698d1eb Update qt5-legatus-legacy submodule to latest migration commit 2026-09-15 18:20:59 +00:00
torstenandCopilot 7173785915 Qt6 Migration: Complete migration with DDS/RTI support and build validation
Major Changes:
- Merged latest Qt5 devel content from dlbo (292 files changed, 7 new dirs)
- Consolidated forward-declarations and include folders
- Removed unneeded modules per Niklas' repo check list

Build System Fixes:
- Fixed CMake VERSION_GREATER syntax in ParticipantManagement/CMakeLists.txt
- Added VLC packages (libvlc-dev, vlc-plugin-base) to docker_build.sh
- Added PostgreSQL dev packages (libpq-dev, postgresql-server-dev-all) to Dockerfile
- Fixed locale warnings (ANSI_X3.4-1968 → C.UTF-8)
- Fixed ArcGIS SDK path warnings when BUILD_ARCGIS=OFF

Code Generation Fixes:
- Fixed IDL enum collisions (PortType→CorePortType/DdsutPortType, PdmEventType)
- Fixed Grantlee template svc_translation.cpp.grantlee:
  - Changed {{ idl_enum.name }}_def:: to {{ idl_enum.name }}::
  - Fixed .underlying() calls for C++11 scoped enums (enum class)
- Removed generated files from repo (moc_*, *_dtc.h, *_ftc.h)

Validation:
- BUILD_RTI=ON: SUCCESS
- BUILD_RTI=OFF: SUCCESS
- C++17 standard maintained for RTI 7.7 compatibility
- Ubuntu 26.04 Docker environment verified

Remaining Warnings (expected):
- BgViewer, KDChart, KDReports, Poppler-Qt6 not found (optional features)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-15 18:20:26 +00:00
torsten f23384bb68 Merge branch 'feature/qt6-migration-basis-modules' of devel:lifemaps/qt-migration-legatus into feature/qt6-migration-basis-modules 2026-09-15 08:57:49 +00:00
torsten c29ffee9d4 Adds convinient RTI build variable 2026-09-15 08:56:31 +00:00
torsten 1fa7897671 Merge pull request 'Added LogViewer again' (#2) from feature/qt6-migration-added-logview into feature/qt6-migration-basis-modules
Reviewed-on: #2
2026-09-15 08:52:58 +00:00
berrux-dev 60f7ea0d9a Added LogViewer again 2026-09-15 10:37:29 +02:00
torsten 44fdf2ac91 Merge pull request 'remove all unneeded module listed from Niklas' (#1) from feature/qt6-migration-remove-Niklas-unneeded-module into feature/qt6-migration-basis-modules
Reviewed-on: #1
2026-09-15 07:45:32 +00:00
berrux-dev 92ad7d4686 remove all unneeded module listed from Niklas 2026-09-14 21:15:42 +02:00
torsten be912de9d6 Removes .IDL warnings: multiple enum definitons and builtin-type collisions 2026-09-14 15:45:58 +00:00
torsten eb02c1f001 Removes code-generated files that were accidentally committed to the repo 2026-09-14 11:21:00 +00:00
torsten 1cb7a2ea22 Unifies include folders into single point of truth 2026-09-14 09:57:51 +00:00
torsten f217207675 Unifies forward-declations forlder into single point of truth 2026-09-14 09:27:30 +00:00
torsten 1157e12e0f Moves remaining few files to common subfolders 2026-09-14 09:04:39 +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 b21bdbf410 Removes UTF.8 local warnings 2026-09-12 12:50:03 +00:00
torsten 969e273904 Behebt strikt nur die verbleibenden CMake legacy command Fehler im Docker-Build der Qt6-Migration. 2026-09-12 12:35:50 +00:00
torsten 710f7ad475 Behebt strikt nur die verbleibenden Linker-Fehler ("undefined reference") im Docker-Build der Qt6-Migration. 2026-09-12 11:57:41 +00:00
torsten 50c4a6fbc0 Strictly resolve CMake warnings in the Docker build. 2026-09-11 17:17:00 +00:00
torsten 524f076c2a Reinserts custom ctest configure step 2026-09-11 16:44:35 +00:00
torsten 2ed0a944d1 Cleans repo from built artefaktes 2026-09-11 16:24:14 +00:00
torsten db81f2de26 Cleans repo from built artefaktes 2026-09-11 16:19:38 +00:00
torsten 2a0192ce1d Cleans repo from built artefaktes 2026-09-11 16:11:16 +00:00
torsten 3aa0b04ebd Cleans up only warnings and specific CMake/include path error in the Qt6 migration tree, using strictly minimal changes with minimal side effects. 2026-09-11 15:14:11 +00:00
torsten 67491249c2 Changes target of symlink 2026-09-08 20:58:38 +00:00
torsten 8d1897d297 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:37:54 +02:00
torsten 18ef659723 Adds entire search skills 2026-09-07 19:37:11 +02:00
torsten 8cec9973e7 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:36:21 +02: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 758ae0f53f 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:18:30 +02:00
torsten 283e89e3c9 Blocker: idl files mixture
Only idl files from build folders have to into build process
2026-09-07 18:22:07 +02:00
torsten 6513a267e2 Provides clear handoff infos for continuing migration work with resolution strategies 2026-09-06 18:58:10 +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 afda2a82a8 Fixes rti 7.7 codegen invocations 2026-09-04 21:24:03 +02:00
torsten c5c54cb268 Adds further build artefakts to .gitignore 2026-09-04 20:50:15 +02:00
torsten 1445fc659d emove build files from repo tracking and add to .gitignore 2026-09-04 15:50:42 +02:00
torsten c270b7ebe7 Integrates qt6-ported code generator into qt6-overall-build-pipeline 2026-09-04 15:31:59 +02:00
torsten f528f9b609 Inserts ktexttemplate ported idl files parser 2026-09-02 20:32:15 +02:00
torsten 8a26ac0a5d Adds latest migration results 2026-09-01 12:37:37 +02:00
torsten 4e548318b5 Removes built artefakts from repo 2026-09-01 12:35:49 +02:00
torsten 0c1503d85c Adds latest migration results 2026-09-01 12:27:57 +02:00
torstenandCopilot 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
torstenandCopilot 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 eafbbbbbe9 BUILD_RTI=OFF: CODEGEN_* Makros in IF-Blocekt + DatabaseInterfaceImpl Stubs
- Alle 38 Service-Module CMakeLists.txt: CODEGEN_* Makros in IF(BUILD_RTI) gepackt
- flm_db_impl_custom.h: Include-Pfad korrigiert (Lts/Services/... → FileManagement/)
- DatabaseInterfaceImpl Stub-Header erstellt für:
  - FileManagement (flm_db_impl.h)
  - InfrastructureManagement (ism_db_impl.h)
  - ParticipantManagement (ppm_db_impl.h)
  - RecordingManagement (rec_db_impl.h)
  - Evaluations (evl_db_impl.h)
- opm_enums.hpp: Placeholder-Enums für OperatorManagement

Ermöglicht BUILD_RTI=OFF Builds ohne RTI/DDS Codegenerierung
2026-08-29 23:45:19 +02:00
torstenandCopilot 115243d47c Add stub headers for svcOpmCommon and svcExmCommon (BUILD_RTI=OFF)
- opm_db.h: Operator und Group Klassen für OperatorManagement
- exm_db.h: Exercise und ExercisePhase Klassen für ExerciseManagement
- Analog zu flm_db.h für DDS/RTI Codegen bei BUILD_RTI=OFF
- Alle Getter/Setter mit std::string und QString Unterstützung
- std::optional für optionale IDs (exerciseId, phaseId, etc.)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-29 22:56:01 +02:00
torstenandCopilot f74ff251a2 Add flm_data_plugin_interface.h stub
- Plugin Interface Header für FileManagement Data Plugin
- Benötigt für LtsFileDialog Build (BUILD_RTI=OFF)
- Vom Qt5-Quellcode kopiert und angepasst

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-29 22:37:43 +02:00