Commit Graph
57 Commits
Author SHA1 Message Date
torsten 3d490bea2e tests: add BUILD_SMOKE_TESTS option to enable smoke-tests in full-builds 2026-07-17 17:15:14 +02:00
torsten 8ea74a81ad tests: make smoke-tests Qt6-safe (use QStringLiteral/QLatin1) 2026-07-17 17:12:43 +02:00
torsten 3988248897 tests: upgrade DDS smoke-tests to Qt Test-based checks (QString, QVariant, containers) 2026-07-17 17:12:07 +02:00
torsten 80a09df7b9 tests: add smoke-test executables for Lts/DDS placeholders during migration 2026-07-17 17:08:59 +02:00
torsten 4d7de6c733 revert: remove PlaceholderInternalTargets include (caused target conflicts) 2026-07-17 17:05:33 +02:00
torsten 372d50acec tests: add placeholder CTest entries for Lts/DDS during migration 2026-07-17 17:04:55 +02:00
torsten adf548cb06 migration: allow skipping Strix via SKIP_STRIX=1 in automate_migrate_Lts_DDS.sh 2026-07-17 16:57:47 +02:00
torsten b5c6f9f18b migration: add automate_migrate_Lts_DDS.sh to run clang-tidy and Strix (best-effort) inside Docker image\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 16:48:58 +02:00
torsten 946695c57e cmake: set KDReports_FOUND when KDReports-qt6 detected so LtsPrinting guard behaves correctly 2026-07-17 15:28:50 +02:00
torsten 398c1fe981 cmake: extend FindKDReports to detect KDReports-qt6 installed under /usr/local and provide imported target shim 2026-07-17 15:28:16 +02:00
torsten 7e661079b1 cmake: add FindGrantlee5.cmake shim to gracefully skip Grantlee when unavailable (avoids Qt5/Qt6 mixing)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 14:01:27 +02:00
torsten 3a4f72d59f build(docker): fix COPY placement and apt package name for geographiclib; run build scripts outside RUN copy (Dockerfile syntax)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:38:03 +02:00
torsten c028a5622c build(docker): attempt apt install libgrantlee5/libkdreports; add build_grantlee.sh and build_kdreports.sh invocation from Dockerfile\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:37:06 +02:00
torsten f613b4f266 build(docker): add build_grantlee.sh and build_kdreports.sh to install or build Grantlee and KDReports from source\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:36:41 +02:00
torsten 5a74df95f2 chore(cmake): honor -DMIGRATE_MODULE to add only necessary subdirectories for per-module migration builds\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:28:53 +02:00
torsten 1c6e1fa8b3 chore(cmake): guard test_nglpdfwidget by TARGET nglwidgets to avoid linking if library missing\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:22:23 +02:00
torsten 13eab6258d build(docker): call ./app/build_log4qt.sh from Dockerfile; move Log4Qt build out of Dockerfile\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:17:07 +02:00
torsten fd7ba24128 build(docker): extract Log4Qt build into ./app/build_log4qt.sh; keep Dockerfile simple (builds call script)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:16:48 +02:00
torsten c7abae2727 chore(cmake): skip unit tests that require not-yet-migrated internal targets (guard by TARGET LtsElevation)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:15:28 +02:00
torsten ae2c674b81 chore(repo): replace app symlink/submodule with in-repo app directory; enable committing app/Dockerfile and tooling\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 13:13:02 +02:00
torstenandCopilot a12270ad01 build(docker): add external deps (GeographicLib, Grantlee, KDReports) and build-from-source fallbacks; note RTI is proprietary
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-17 13:12:46 +02:00
torsten 7556893505 chore(CMake): guard Lts/Tests add_subdirectory when BUILD_TESTING is ON to allow partial checkouts 2026-07-17 12:59:58 +02:00
torsten 033a94917a chore(cmake): make RTI codegen macro tolerant when RTI is not installed (skip RTIDDSGEN) 2026-07-17 12:59:36 +02:00
torsten 647f817a04 chore(CMake): make KDReports optional for LtsPrinting to allow configure without printing deps 2026-07-17 12:59:03 +02:00
torsten 5cc294a919 chore(CMake): make GeographicLib optional for LtsCoordTrans to allow partial configure during migration 2026-07-17 12:58:22 +02:00
torsten 7401dbf3fd fix(migrate): sanitize module name correctly for build dir 2026-07-17 12:57:48 +02:00
torsten f6089bcdca fix(migrate): use per-module build dir to avoid permission conflicts with existing /repo/build 2026-07-17 12:57:31 +02:00
torsten 699d745a6a chore(CMake/migrate): relax Grantlee/RTI requirements and avoid permission issues in fallback docker run\n\n- Make Grantlee optional and skip codegen_grantlee when missing
- Keep RTI optional (no REQUIRED)
- Use host UID:GID when running fallback docker run to allow cleaning build dir
\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-17 12:55:35 +02:00
torsten 3dbbcc1303 chore(CMake): make Lts top-level resilient to partial checkouts and optional RTI/doxygen\n\n- Guard ADD_DOXYGEN_TARGET with existence check
- Add only existing Lts subdirectories to allow partial migrations
- Make RTI optional in Lts/Common/CodeGen and guard RTI target properties
\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-17 12:52:28 +02:00
torsten d7491140fa fix(migrate): fallback to direct docker run when app/run_docker.sh fails to forward args; build image if needed 2026-07-17 12:50:06 +02:00
torsten 70872e468c fix(migrate): use absolute repo path when invoking app/run_docker.sh; compute MODULE_ABS relative to repo root\n\nThis avoids ambiguous '../sandbox' usage and ensures CMD_ARGS are forwarded into the container correctly.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 12:48:41 +02:00
torsten 0a43c6bc5c ci: add GitHub Actions workflow for Qt6 migration (Lts/Common, Lts/DDS, final full run)\n\nCreates CI job that runs migration/migrate_module.sh for Lts/Common and Lts/DDS and then final-migration/run_final_migration.sh.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-17 12:44:55 +02:00
torsten fa48db111e Continues migration with DDS, Common 2026-07-17 12:41:42 +02:00
torsten 9b15cee841 Add migration helpers: migrate_module.sh and MIGRATION_CHECKLIST.md\n\nProvide a repeatable migration script and checklist to standardize adding modules (./Lts, ./...) for Qt6/C++20 migration.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-16 08:40:13 +02:00
torsten 6ef0af4fd7 Ignore build/ and remove tracked build artifacts from repository\n\nRemove build artifacts from version control; build/ is in .gitignore now.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> 2026-07-16 08:29:42 +02:00
torstenandCopilot 0fbb79cbac Update CHANGELOG: list migrated subfolders (./Z, ./TetraIF)
Document which subfolders were actually migrated to Qt6.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-15 13:25:29 +02:00
torstenandCopilot be24318131 Move CHANGELOG to repository root
Move release note into ./CHANGELOG for top-level visibility.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 23:50:45 +02:00
torstenandCopilot 5bf9957c6e Add release note for qt6-migration-2026.07.14
Add CHANGELOG entry summarizing Qt6 migration and verification steps.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 23:49:23 +02:00
torstenandCopilot 8b1e103ab4 Merge branch 'qt6/fix-qsqlquery-copy-warnings' into main
Merge fixes for QSqlQuery deprecation and Qt6 warnings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 23:36:18 +02:00
torstenandCopilot e1b5c2f918 Fix QSqlQuery copy and Qt6 deprecation issues
- Suppress deprecated QSqlQuery copy-constructor warning locally in NSqlQuery::operator=
- Replace qChecksum overload with QByteArrayView
- Use QTimeZone::utc(), QLibraryInfo::path(), check QTranslator::load return values
- Replace deprecated operator+ for key combinations and other small Qt6 fixes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 23:32:33 +02:00
torstenandCopilot f7c94bed68 Fix LD_LIBRARY_PATH usage in final-migration runner (use default if unset)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 23:00:17 +02:00
torstenandCopilot b3c45b8c7c Add final-migration/run_final_migration.sh: dockerized clean configure, build and test runner
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 22:59:40 +02:00
torstenandCopilot 4a0fab6d3c Merge qt6/replace-qasconst into main
Apply Qt6 migration refactors: replace qAsConst->std::as_const, update QMouseEvent::position, reduce compiler warnings.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 22:57:32 +02:00
torstenandCopilot 3904b43cf8 Refactor: replace qAsConst with std::as_const across TetraIF; reduce compiler deprecation warnings
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 22:48:58 +02:00
torsten dfdc6e299d Remove sensitive .env-swy from index and ignore build/ and runtime artifacts
Ensure .env-swy is not tracked and add .gitignore entries for build/ and strix_runs/.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 22:44:44 +02:00
torsten 8af436f09a Reduce compiler warnings: replace qAsConst with std::as_const and update event localPos() to position()
Replaced deprecated qAsConst usages in built modules and updated QMouseEvent::localPos() to position() per Qt6 deprecation guidance.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 22:44:14 +02:00
torstenandCopilot 46e673f660 replace qAsConst with std::as_const in nglpdfdocument
Reduce Qt deprecation warnings

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 22:39:18 +02:00
torstenandCopilot 3546d1c7aa nglcompression: set m_success after buffer uncompress so waitForFinished succeeds
Ensures _uncompressBuffer sets m_success before returning true so success() reflects completed operation; fixes nglcomp_test::testUncompressMemory. Also add .gitignore to ignore runtime strix_runs/ artifacts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-14 22:33:40 +02:00
torsten 8ef3c1861f qt6: pdfwidget fixes — replace deprecated layout margin API, adapt Poppler Qt6 unique_ptr API to existing code (use unique_ptr m_doc), fix std::min types 2026-07-14 20:41:40 +02:00
torsten 58f7124c49 qt6: widgets fixes — replace QDesktopWidget, use QGuiApplication::primaryScreen; switch dialog button map to QMultiMap; fix QFlags init and layout API; QtConcurrent lambda wrappers 2026-07-14 20:40:09 +02:00