Files
qt-migration-legatus/qt5-before/dlbo/Lts/Tools/ArAssetsV3
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
..

ArAssetsV2

Email

Files & Folders

  • node_modules/*
    Contains the nessecary libraries. Changed only via npm
  • types/*
    Contains typescript definitions (".d.ts") for JS libraries that have not been properly ported to TS yet
  • tmp/*
    Contains transpiled code. Useless without browserifying it. Gets deleted automatically after build
  • src/*
    Contains the typescript source files
  • www/
    • img/
      Contains images like map markers etc.
    • map/*.jpg
      Leaflet map overlays
    • map/overlays.json Contains list of leaflet map overlays with name and bounding coordinates
    • leaflet.css
      Leaflet stylesheet
    • main.js
      Final transpiled and browserified code
    • style.css
      Stylesheet for
    • index.html
      Main page of the app. Also the only page though.
  • package*.json
    NodeJs stuff. Contains library dependencies and so on. Only changed via npm
  • tsconfig.json
    Typescript project configuration
  • build
    Shell script that compiles the app once. Usage: ./build
  • watch
    Shell script to automatically recompile when chaged. Usage: ./watch
  • readme.md
    This

Comment on loading map overlays

The solution for loading a sort of config file for map image overlays is as ugly as it is because Firefox and other browsers block CORS HTTP requests by default for security reasons, thats why I changed from loading a json file via HTTP to dynamically including a javascript file which hangs the "config" onto the global window object to be read from there. This was the only way I could think of without running the whole application on an actual webserver. Sorry future dev

Building/Watching

Dependency install via
Typescript compiler npm i -g tsc
Browserify (for ./build) npm i -g browserify
Uglify (for --min) npm i -g uglify-es
Watchify (for ./watch) npm i -g watchify

build

The build script will transpile (.ts -> .js) and browserify (resolve dependencies) automatically. It also has two command line arguments:

  • --min will minify the output file
  • --fetch-deps will (re)install all node modules