torsten and Copilot
f15f342a47
QRegExp → QRegularExpression migration complete
...
Migrated all remaining QRegExp usage to QRegularExpression for Qt6 compatibility:
- Lts/Viewer/SituationMap/SymbologyImpl/symbol_dictionary_impl.cpp
- Changed helper functions to use QRegularExpression::match().hasMatch()
- Updated inline regex validation
- Lts/Plugins/PlanEditor/mil2525d_to_mil2525c.cpp
- Fixed m_sidcQuery.exactMatch() → match().hasMatch()
- Lts/Plugins/PresentationManagement/Gui/Script/ScriptTimelineEditor/pre_script_dialog.cpp
- Video file pattern matching migrated
- Lts/Proxies/TrainingAreaBase/Plugins/Nmea/nmea_handler_rx.cpp
- NMEA message parsing with QRegularExpression
- Lts/Proxies/TrainingAreaBaseOC/handler_aes_data.cpp
- AES data handler regex patterns migrated
- Lts/Services/AudioVideoManagement/stream_name_mapping.*
- Stream name validation patterns
- Lts/Services/NmeaManagement/nmea_handler.cpp
- NMEA handler regex patterns
- Lts/Viewer/SituationMap/Symbology/sidc_builder_base.cpp, sidc_codec.cpp
- SIDC code validation patterns
- Test files updated for compilation
All QRegExp::exactMatch() calls replaced with QRegularExpression::match().hasMatch()
All QRegExp::cap(n) calls replaced with QRegularExpressionMatch::captured(n)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-24 19:10:44 +02:00
torsten and Copilot
7a6be7474e
Qt6 migration: Fix BUILD_RTI=OFF build errors in TrainingAreaBase
...
- training_area_telegrams.cpp: Fixed QJsonObject initializer syntax (Qt6 requires {{}} not ({}))
- training_area_telegrams.cpp: Fixed fromJson() methods to access m_* members directly
- training_area_telegrams.cpp: Fixed brace mismatches in multiple toJson() methods
- training_area_telegrams.h: Changed Header struct to public members for consistency
- tx_mixin.cpp: Fixed getEquipmentNumber() template for direct member access
- lts_coordinate.cpp: Added missing #include <iomanip>
- MIGRATION_STATUS.md: Added migration progress tracking document
C++17 constraint enforced due to RTI Connext DDS 7.7.0 incompatibility with C++20+
Build status: BUILD_RTI=OFF successful (0 errors, warnings only)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-23 20:49:23 +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
3bb6e89496
Adds immediate migration results in progress
2026-08-19 11:18:24 +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 and Copilot
b774f4035c
Qt6 Migration: DDS-Stubs, Logger-Fixes, Export-Header Korrekturen
...
- NGL_ADD_LIBRARY2: 87 CMakeLists.txt konvertiert für Export-Header Generierung
- 44 Export-Header Include-Pfade korrigiert (_export.h)
- 81 DDS-Stub-Header generiert (*_dtc.h, *_fts.h, *_dts.h, *_ftc.h)
- INGLLogger: Duplikat gelöscht, m_logger Member entfernt, variadische Makros
- Q_FUNC_INFO Redefinition behoben (Qt6 definiert bereits)
- FATAL_LOG Makro hinzugefügt
- InfrastructureManagement DDS-Stubs (ism.hpp, ism_enums.hpp, ism_ftc.h)
- FilterManagement DDS-Stubs (flt_ftc.h, flt_dts.h)
- AreaEffectSimulation DDS-Stubs (aes.hpp, aes_enums.hpp)
- SymbolAppearance Klasse vollständig definiert mit content() Methode
- BuildingComponentFilter Klasse definiert mit Copy-Konstruktor
- Ftc Factory: nullptr Return (abstract class)
- AesFilter Klasse in aes.hpp hinzugefügt
- Dtc Klasse in ppm.hpp mit participantChanged Signal
- AesType Enum: alle 15 At* Werte definiert
- AesEffectState_def: EsReceived hinzugefügt
- DataModification Enum: eAdded/eModified/eRemoved
- function_reply_object.h → core_types.h Include-Pfad (72 Dateien)
- Enum-Class-Streaming Template-Operator in INGLLogger.h
- ism_mounting_point.h: QImage → QtGui/QImage, QGuiApplication/QScreen
- ism_data_plugin_interface.h: QSet Include, Include-Reihenfolge
- QRegExp → QRegularExpression in tpm_js_parser.cpp
- .underlying() Aufrufe zu direktem Enum-Vergleich korrigiert
- Include-Pfade: aes.hpp in symbol_appearance_settings_impl.h und aes_display_filter_impl.h
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-08-19 06:06:24 +02:00