Commit Graph
5 Commits
Author SHA1 Message Date
berrux-dev e60a860283 Add the system KF6 plugin dir to ctest QT_PLUGIN_PATH
GrantleeParserSmoke parses the codegen .grantlee templates with the KF6
TextTemplate engine, which loads the ktexttemplate_defaulttags plugin.
The plugin ships in the system multiarch plugin dir
(/usr/lib/x86_64-linux-gnu/qt6/plugins) via libkf6texttemplate-dev, which
the aqt-installed /opt/Qt does not search by default, so every template
failed with "Plugin library not found". Prepend the dir to
QT_PLUGIN_PATH in the driver ctest step (same pattern as
QT_QPA_PLATFORM=offscreen).

Also includes the pending comment-only cleanup of this file (explanatory
comment blocks removed; the only functional change is the QT_PLUGIN_PATH
export line).
2026-11-17 17:14:59 +01:00
berrux-dev 855acba062 Make --docker-image select the prebuilt path and add missing dev packages
Running the driver with only --docker-image silently ignored the flag
(USE_PREBUILT_IMAGE stayed OFF), so ubuntu:26.04 was provisioned from the
in-script apt list - which lacks libbz2-dev - and the configure failed
with "Could NOT find BZip2" in Z/src/nglcompression.

- --docker-image now implies USE_PREBUILT_IMAGE=ON (the usage text already
  documented it as the image to use); --no-prebuilt-image passed after it
  still forces the base image.
- Add libbz2-dev (BZip2), libgl1-mesa-dev (OpenGL) and pkg-config
  (FindGrantlee5/FindPopplerQt6) to the apt list of both the non-prebuilt
  flow and the prebuilt-image Dockerfile.
2026-11-17 12:58:02 +01:00
berrux-dev 4cabd1d42c Build the ctest-registered unit-test targets in the release2 driver groups
The driver only built the per-group library/tool targets, so 15 of the 22
ctest-registered tests were never compiled and ctest reported them as
'Not Run' (32% pass rate). Add the missing test executables to the group
that owns their module (DDS tests to GROUP1, Lts/Common tests to GROUP3,
LogViewer/SqlBrowser tests to GROUP5).
2026-11-17 11:32:20 +01:00
berrux-dev dc2c3e358b Move the build tree out of the source tree (fixed ../build)
The build directory is now a fixed 'build' next to the tree
(qt6-after/build), not in-tree build4 / build4_<timestamp>_<pid> dirs.

- CMakeLists: the $ORIGIN RTI RUNPATH entry is now 4 levels up from a
  bin/ or lib/ artifact (the build tree is one level shallower)
- new_docker_build_release2.sh: BUILD_DIR is the fixed ../build; the DEB
  tar drops the ./build4* exclude (the build dir is outside the tree)
- new_docker_build.sh: Docker mounts the tree's parent so ../build lands
  next to the tree on the host; in-container paths (cmake source,
  SRCROOT, deb_stage, rpms, staging tar) updated accordingly
- rpmbuild/make_rpm_ubuntu26*.py: stale build4/ references now say build/
- README: build4 -> ../build in every snippet and doc line

Verified: fresh full-scope configure + ninja all in qt6-after/build is
green; ctest 20/22 (same 2 pre-existing out-of-scope failures as the
previous baseline); RUNPATH carries the 4-level $ORIGIN entry and
ddscore_unit_test runs with no LD_LIBRARY_PATH / RTI_LICENSE.
2026-11-16 22:20:12 +01:00
berrux-dev 262fd226f9 Restore in-scope files missing from the merge and scope-aware CMakeLists
The merge from story/release-validation-scope only carried files that
existed at the common base or on that branch. In-scope files added on
story/release-2-cleanup after the base (per-module unit-test dirs, the
Release 2 driver and rpmbuild script) were missing, breaking
ADD_SUBDIRECTORY(unit-test) references.

- Restore the 33 missing in-scope files from story/release-2-cleanup.
- Lts/Common/CMakeLists.txt and LtsUtilsGui/CMakeLists.txt: take the
  story/release-2-cleanup versions (the validation versions still
  reference out-of-scope subdirectories: httq, LtsRestClient,
  LtsWebSocket, ConnectDialog, StyleManager).
2026-11-16 19:04:24 +01:00