Commit Graph
272 Commits
Author SHA1 Message Date
torsten ab94e9fd61 Adds copilot-cli prompts for migration work 2026-08-18 10:26:12 +02:00
torstenandCopilot 4cd1a76c35 Update submodule branch and Docker tag to ubuntu26.04
- .gitmodules: Set submodule branch to feature/qt6-migration-basis-modules
- app/Dockerfile: Update FROM ubuntu:24.04 to ubuntu:26.04
- files/qt6-submodule-migration-changes.md: Update status with successful test results

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Entire-Checkpoint: 01M08CV4EFR0GM7NSVCTBC16K5
2026-08-17 19:38:22 +02:00
torstenandCopilot cf75745f8b Qt6 migration: Update Docker tag to ubuntu26.04 and fix submodule paths
Cosmetic changes for readability and consistency:
- Update Docker image tag from ubuntu22.04 to ubuntu26.04 in all scripts
- Align with Dockerfile base image (ubuntu:26.04)

Files updated:
- app/run_docker.sh
- migration/automate_migrate_Lts_DDS.sh
- migration/migrate_module.sh
- final-migration/run_final_migration.sh
- .github/workflows/qt6-migration.yml (submodules: recursive)
- migration/run_clang_tidy_common.sh

Documentation:
- files/qt6-submodule-migration-changes.md: Added note about qt6-after being empty

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Entire-Checkpoint: 01M08C7DVVVDNBXGPN4M02CFB5
2026-08-17 19:27:36 +02:00
torsten 0a0988376f Adds entire env 2026-08-17 18:15:20 +02:00
torsten 75d0c06158 Moves lts folder to self-hosted gitea repo 2026-08-17 18:01:57 +02:00
torsten 352c292879 Adds latest head of porting branch submod 2026-08-17 17:58:06 +02:00
torsten 516bdfd3c9 Adds migration run time requiremnts 2026-08-14 12:24:46 +02:00
torsten be8cf8f533 Adds migration repo as submod 2026-08-14 12:17:07 +02:00
torsten 46c8d8de3e Saves latest changes made in migration effort 2026-08-13 18:43:10 +02:00
torsten f2a640242c Add stub ProjectDataManagement/pdm_enums.hpp to allow migration-build progress\n\nPlaceholder header to satisfy includes during TetraIF migration; replace with real generated header later.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-22 12:33:51 +02:00
torsten 33cf8cd3b3 Expose NGLLogger include dir as INTERFACE and include ProjectDataManagement in TetraIF migration build\n\n- Add to NGLLogger INTERFACE include dirs so consumers can include <NGLLogger/...>.\n- When MIGRATE_MODULE=TetraIF also add_subdirectory(Lts/Plugins/ProjectDataManagement) to ensure ProjectDataManagement headers are available.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-22 12:32:19 +02:00
torsten b190fb33e7 CMake: when migrating TetraIF, also include Lts/Proxies/TrainingAreaBase and Z/src in build tree\n\nThis ensures generated training_area header and NGLLogger are present when building TetraIF in an isolated migration run.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-21 15:30:47 +02:00
torsten 1e438ffb37 Z/tcpserver: include <QObject> in workerbase.h (Qt6 compatibility)\n\nFix invalid use of incomplete QObject type under Qt6 by adding missing include.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-21 15:28:01 +02:00
torsten f1d08c5da2 CMake: fix MIGRATE_MODULE matching syntax (remove backslash line-continuation) 2026-07-21 15:24:00 +02:00
torsten 5aaef2b631 CMake: improve MIGRATE_MODULE subdir matching to handle nested paths (e.g., Lts/Proxies/TrainingAreaBase)\n\nInclude subdirectories when MIGRATE_MODULE contains the subdir as a path component so nested module selection works.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-21 15:23:35 +02:00
torsten 835c977905 Lts/Proxies/TrainingAreaBase: prefer Qt6 and fallback to Qt5 for Core/Sql/Network targets\n\nUse Qt6::Core/Sql/Network when available to support Qt6 migration; fall back to Qt5 to keep compatibility.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-21 15:21:17 +02:00
torsten 6603c6563f TetraIF/CoPrtCnv: link Qt Core to expose Qt includes (Qt6 when available)\n\nAdd Qt6::Core/Qt5::Core to CoPrtCnv target link libraries so Qt headers (QString, QJsonDocument, etc.) are found during migration builds.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-21 14:15:17 +02:00
torsten a33d44382b TetraIF/LogView: guard add_dependencies for generated helper targets (avoid missing training_area_telegrams.h_bin error during configure)\n\nOnly add dependencies if helper targets exist so configure succeeds in migration builds where those generators are absent.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-21 14:14:44 +02:00
torsten 70cdf12c82 Z: make ngltools Qt smoke test build standalone when library target missing; use DTG format for stable round-trip\n\nEnsure smoke test links directly to implementation if ngltools target isn't present so migration builds can run tests without producing the full library.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-21 14:14:01 +02:00
Copilot 8157682249 test(z): fix DTG namespace usage; tidy CMake mismatches 2026-07-21 14:00:40 +02:00
Copilot f9c1bfdbe0 test(z): ensure ngltools Qt smoke test is added when BUILD_TESTING is ON (avoid TARGET guard) 2026-07-21 14:00:05 +02:00
Copilot dd2dbd3503 test(z): add Qt smoke test for ngltools DTG functions; tidy CMake IF/ENDIF mismatches in nglwidgets and NGLLogger 2026-07-21 13:58:12 +02:00
Copilot dd85b9f5a8 test(grantlee): adjust smoke test for Qt6 API and Grantlee error enum (use QStringLiteral and Grantlee::NoError) 2026-07-21 13:44:05 +02:00
Copilot f783b6e590 migration(grantlee): handle Qt5Gui pattern when patching installed Grantlee config to Qt6 2026-07-21 13:42:52 +02:00
Copilot 2793db9d9d migration(grantlee): add script to patch installed GrantleeConfig to use Qt6 2026-07-21 13:41:54 +02:00
Copilot f18fce26e2 cmake: allow config-mode Grantlee5 discovery from CMAKE_PREFIX_PATH (use Grantlee5Config.cmake if present) 2026-07-21 13:39:07 +02:00
Copilot cef0d47ebc migration: add Grantlee parser smoke test; apply safe RTI finder guard; add patch script to avoid QT_TESTCASE_BUILDDIR redefinition 2026-07-21 13:37:32 +02:00
Copilot 56adad890c migration(grantlee): add patch script to avoid QT_TESTCASE_BUILDDIR redefinition; add Grantlee parser smoke test 2026-07-21 13:33:05 +02:00
Copilot faa891b573 build(grantlee): strip explicit QT_TESTCASE_BUILDDIR target_compile_definitions to avoid macro redefinition; keep Qt6 Test find_package injection 2026-07-21 12:59:39 +02:00
Copilot 658051a8ea build(grantlee): honor DISABLE_TESTS env to disable BUILD_TESTING during CMake configure 2026-07-20 19:10:26 +02:00
Copilot ddc3b7e542 build(grantlee): fix injected Test find_package to use 'find_package(Qt6 COMPONENTS Test REQUIRED)' 2026-07-20 19:03:01 +02:00
Copilot 74fc7a6d05 build(grantlee): inject find_package(Qt6 Test REQUIRED) where Qt6::Test is used but no find_package present 2026-07-20 19:02:35 +02:00
Copilot a2931cb186 build(grantlee): map find_package(Qt5 Test) -> find_package(Qt6 Test REQUIRED) to ensure Qt6::Test is available when tests link 2026-07-20 19:01:54 +02:00
Copilot 92888ddd8d build(grantlee): preserve Qt5 find_package COMPONENTS when mapping to Qt6; improve replacements 2026-07-20 18:57:29 +02:00
Copilot 3dad1d54ba build(grantlee): install xkb dev deps and extend Qt5->Qt6 CMake pattern replacements (resources/translations) 2026-07-20 18:56:52 +02:00
Copilot 13d52cd995 build(grantlee): make build_grantlee_qt6.sh executable 2026-07-20 18:56:20 +02:00
Copilot f8d57dce5d build(grantlee): add Qt6 migration helper script build_grantlee_qt6.sh to attempt pragmatic CMake patches and build against Qt6 2026-07-20 18:56:10 +02:00
Copilot 866081ee98 build(grantlee): attempt Qt6-compatible build by patching CMake find_package/Qt5:: -> Qt6:: in-source as pragmatic shim 2026-07-20 18:52:05 +02:00
Copilot c630d0cd34 cmake(Lts): include MacroCodeGenIdl before calling CODEGEN_WRITE_SERVICEFILE_INFO to fix macro order 2026-07-20 18:41:25 +02:00
Copilot 4c34b5c1eb ci: mount repo ./externals (fallback ./external) to /repo/external so preinstalled RTI/ArcGIS are available in container 2026-07-20 18:36:02 +02:00
Copilot d93eba3766 ci: give migration containers readable names (timestamped) and echo them before launch 2026-07-20 18:33:18 +02:00
Copilot 4309e7501d mocks(dds): make async dispatcher detached and avoid join-on-clear to prevent test teardown terminate 2026-07-20 18:25:06 +02:00
Copilot 6d8d843ee0 tests(dds): enable GTest smoke-tests and add async-capable realistic MockDDS with GTest async subscription test 2026-07-20 18:23:40 +02:00
Copilot 14988660cd cmake: make NGL_ADD_SUBDIR_GUARDED match by basename so MIGRATE_MODULE=Lts/DDS picks Lts/DDS correctly 2026-07-20 13:12:03 +02:00
Copilot 01f8dd0d09 cmake: make Lts subdirs MIGRATE_MODULE-guarded (use NGL_ADD_SUBDIR_GUARDED) 2026-07-20 13:11:22 +02:00
Copilot a31ae77087 migration: add install_bgviewer.sh; make FindBgViewer search ./external/BgViewer and respect BGVIEWER_DIR 2026-07-20 13:10:36 +02:00
Copilot 2a3bfb7aea cmake: robustly locate RTI libraries via recursive search under RTI_DIR 2026-07-20 12:49:37 +02:00
Copilot 265f69886e cmake: make FindRTI search RTI lib subdirs dynamically (x64Linux4gcc8.5.0 etc.) 2026-07-20 12:49:01 +02:00
Copilot 7c080db59f migration: prefer ./external for RTI/ArcGIS; detect RTI arch in FindRTI; install/unpack ArcGIS into ./external 2026-07-20 12:48:23 +02:00
torsten fe78be0afa devops: add RPM prepare and external installers; extend Dockerfile and run_docker.sh for --run-rpm 2026-07-18 18:24:31 +02:00