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>
This commit is contained in:
torstenandCopilot committed 2026-09-15 18:20:26 +00:00
1 parent f23384bb68
commit 7173785915
18662 files changed
+4115092 -5435

No files matched your search

@@ -0,0 +1,23 @@
-- $Id$
-- $HeadURL$
-- $Author$
-------------------------------------------------------------------------
-- INFO: Sample update 01 (one global schema)
-- PROJECT: Guez
-- DATE: 2021-02-17
-- VERSION: 1.01
-------------------------------------------------------------------------
-- GLOBAL: PDM;
BEGIN;
UPDATE pdm.pdm_translation SET disambiguation = 'shortName' WHERE disambiguation = 'short_name';
UPDATE pdm.pdm_translation SET translation = 'HE / Impact Fuze' WHERE context = 'ChargeType' AND disambiguation = 'shortName' AND iso_code = 'en_GB' AND key = 'HE / AZ';
UPDATE pdm.pdm_translation SET translation = 'HE / VT Fuze' WHERE context = 'ChargeType' AND disambiguation = 'shortName' AND iso_code = 'en_GB' AND key = 'HE / Annz';
UPDATE pdm.pdm_translation SET translation = 'Influence Fuze' WHERE context = 'ChargeType' AND iso_code = 'en_GB' AND key = 'AZ';
UPDATE pdm.pdm_translation SET translation = 'Proximity Fuze' WHERE context = 'ChargeType' AND iso_code = 'en_GB' AND key = 'Annz';
COMMIT;
-- EXERCISE: NONE;
BEGIN;
COMMIT;
@@ -0,0 +1,20 @@
-- $Id$
-- $HeadURL$
-- $Author$
-------------------------------------------------------------------------
-- INFO: Sample update 02 (Global grants and create users)
-- PROJECT: ALL
-- DATE: 2021-02-17
-- VERSION: 1.02
-------------------------------------------------------------------------
-- GLOBAL: PUBLIC;
BEGIN;
GRANT CREATE ON DATABASE lts_ets_pro TO ets_admin;
SELECT create_user_if_not_exists('ets_ex_1');
COMMIT;
-- EXERCISE: NONE;
BEGIN;
COMMIT;
@@ -0,0 +1,22 @@
-- $Id$
-- $HeadURL$
-- $Author$
-------------------------------------------------------------------------
-- INFO: Sample update 03 (one exercise schema)
-- PROJECT: ALL
-- DATE: 2021-02-17
-- VERSION: 1.03
-------------------------------------------------------------------------
-- GLOBAL: NONE;
BEGIN;
COMMIT;
-- EXERCISE: EX_42;
BEGIN;
ALTER TABLE IF EXISTS rep_firings_data DROP CONSTRAINT IF EXISTS UQ_rep_firings_data_party_id_event_time_participant_id_particip CASCADE;
ALTER TABLE rep_firings_data ADD CONSTRAINT UQ_rep_firings_data_party_id_event_time_participant_id_particip UNIQUE (party_id, event_time, participant_id, participant_type_id, charge_type_id, vulnerability_state);
ALTER TABLE IF EXISTS rep_firings_data DROP CONSTRAINT IF EXISTS FK_rep_firings_data_pdm_charge_type CASCADE;
ALTER TABLE IF EXISTS rep_firings_result DROP CONSTRAINT IF EXISTS FK_rep_firings_result_pdm_charge_type CASCADE;
COMMIT;
@@ -0,0 +1,22 @@
-- $Id$
-- $HeadURL$
-- $Author$
-------------------------------------------------------------------------
-- INFO: Change FLM foreign key to EXM so deleting an exercise/phase will not delete any documents (ON DELETE SET NULL)
-- PROJECT: ALL
-- DATE: 2021-02-19
-- VERSION: 1.04
-------------------------------------------------------------------------
-- GLOBAL: FLM;
BEGIN;
ALTER TABLE IF EXISTS flm_file_content DROP CONSTRAINT IF EXISTS FK_flm_file_content_exercise_id_exercise_id CASCADE;
ALTER TABLE IF EXISTS flm_file_content DROP CONSTRAINT IF EXISTS FK_flm_file_content_phase_id_exercise_phase_id CASCADE;
ALTER TABLE flm_file_content ADD CONSTRAINT FK_flm_file_content_exercise_id_exercise_id FOREIGN KEY (exercise_id) REFERENCES exm.exercise (id) ON DELETE SET NULL ON UPDATE CASCADE;
ALTER TABLE flm_file_content ADD CONSTRAINT FK_flm_file_content_phase_id_exercise_phase_id FOREIGN KEY (phase_id) REFERENCES exm.exercise_phase (id) ON DELETE SET NULL ON UPDATE CASCADE;
COMMIT;
-- EXERCISE: NONE;
BEGIN;
COMMIT;
@@ -0,0 +1,31 @@
-- $Id$
-- $HeadURL$
-- $Author$
-------------------------------------------------------------------------
-- INFO: Add maps for Bremen
-- PROJECT: Sample
-- DATE: 2022-03-16
-- VERSION: 1.05
-------------------------------------------------------------------------
-- GLOBAL: ASM;
BEGIN;
DELETE from asm.asm_map_description where training_area_id=6 ; -- Bremen
-- 2D
INSERT INTO asm.asm_map_description (name, description, training_area_id, map_description_type_id, map_type_id, obj_order, url, min_scale, max_scale)
VALUES ('Norddeutschland OSM', 'Norddeutschland OSM', 6, 1, 1, 0, 'file:TilePackage/Bremen/Norddeutschland_osm_32632.tpk', -1, 125);
-- 3D
INSERT INTO asm.asm_map_description (name, description, training_area_id, map_description_type_id, map_type_id, obj_order, url, min_scale, max_scale)
VALUES ('Norddeutschland OSM', 'Norddeutschland OSM', 6, 2, 1, 0, 'file:TilePackage/Bremen/Norddeutschland_osm_WebMerc17.tpk', -1, 125);
-- Elevation
INSERT INTO asm.asm_map_description (name, description, training_area_id, map_description_type_id, map_type_id, obj_order, url, min_scale, max_scale)
VALUES ('Elevation', 'Elevation', 6, 3, 4, 0, 'file:srtm_38_02.tif', -1, -1);
COMMIT;
-- EXERCISE: NONE;
BEGIN;
COMMIT;
@@ -0,0 +1,52 @@
-- $Id$
-- $HeadURL$
-- $Author$
-------------------------------------------------------------------------
-- INFO: Add missing tln and tln_zuornung tables in WHG (fuer sample ex 150)
-- PROJECT: Sample
-- DATE: 2022-03-22
-- VERSION: 1.06
-------------------------------------------------------------------------
-- GLOBAL: WHG;
BEGIN;
CREATE TABLE whg.tln_150 AS TABLE whg.tln_149 WITH NO DATA;
CREATE TABLE whg.tln_zuordnung_150 AS TABLE whg.tln_zuordnung_149 WITH NO DATA;
CREATE SEQUENCE IF NOT EXISTS tln_zuordnung_150_zaehler_seq INCREMENT 1 START 1 MINVALUE 1;
ALTER TABLE whg.tln_zuordnung_150 ALTER column zaehler SET DEFAULT nextval(( 'whg.tln_zuordnung_150_zaehler_seq'::text)::regclass);
CREATE OR REPLACE FUNCTION public.whg_notifyInsertParticipantAssignment_150()
RETURNS TRIGGER AS $$
DECLARE
toNotify RECORD;
toReturn RECORD;
BEGIN
IF (TG_OP = 'INSERT') THEN
toNotify = NEW;
toReturn = NEW;
ELSIF (TG_OP = 'UPDATE') THEN
toNotify = OLD;
toReturn = NEW;
ELSIF (TG_OP = 'DELETE') THEN
toNotify = OLD;
toReturn = OLD;
END IF;
PERFORM pg_notify('notifyInsertParticipantAssignment', CAST(toNotify.id AS text));
RETURN toReturn;
END;
$$ LANGUAGE plpgsql;
DROP TRIGGER IF EXISTS whg_notifyinsertparticipantassignment_150 ON whg.tln_zuordnung_150;
CREATE TRIGGER whg_notifyinsertparticipantassignment_150
AFTER INSERT ON whg.tln_zuordnung_150 FOR EACH ROW EXECUTE PROCEDURE public.whg_notifyInsertParticipantAssignment_150();
COMMIT;
-- EXERCISE: NONE;
BEGIN;
COMMIT;