Files
qt-migration-legatus/qt5-before/dlbo/Lts/Tools/InfrastructureManagement/python/mounting_hack.sh
T
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

59 lines
2.7 KiB
Bash
Executable File

#!/bin/bash
#
# Das Skript erfüllt die gleiche Funktionalität wie das "Mounten für Faule".
# Das Skritt geht davon aus, dass die virtuelle Umgebung (venv) unter ~/venv3 lokalisiert ist.
#
# 1. Spalte der Tabelle: Geraetename (Wie in Tabelle ism.ism_asset Spalte Name)
# 2. Spalte der Tabelle: Gebaeudename (Wie in Tabelle ism.ism_main_structure_element Spalte Name)
# zwischen den beiden Bezeichnungen " - "
# Name des Anbaupunktes (Wie in Tabelle ism.ism_structure_element_type_id Spalte Name)
#
# @author Christian Fröbel
#
PYTHON=$HOME/venv3/bin/python
this_script=$(realpath "$0")
this_dir=$(dirname "$this_script")
ism_client=$this_dir/ism_client.py
"$PYTHON" "$ism_client" mount-many \
'[["CAM_UBEICE0001", "bldg_56_ref - CAMERA_IN_AP_1"],
["CAM_UBEICE0002", "bldg_56_ref - CAMERA_IN_AP_2"],
["CAM_UBEICE0003", "bldg_56_ref - CAMERA_IN_AP_3"],
["CAM_UBEICE0004", "bldg_56_ref - CAMERA_IN_AP_4"],
["UEPOKAA0001" , "bldg_56_ref - CAMERA_IN_AP_5"],
["UEPOKAI0015" , "bldg_56_ref - CAMERA_IN_AP_6"],
["CAM_UBEICE0006", "bldg_56_ref - CAMERA_IN_AP_7"],
["UEPOKAI0012" , "bldg_56_ref - CAMERA_IN_AP_8"],
["UEPOKAI0014" , "bldg_56_ref - CAMERA_IN_AP_9"],
["UEPOKAI0011" , "bldg_56_ref - CAMERA_IN_AP_10"],
["UEPOKAA0002" , "bldg_56_ref - CAMERA_IN_AP_11"],
["UEPOKAI0013" , "bldg_56_ref - CAMERA_IN_AP_12"],
["CAM_UBEOCE0001", "MP_OUT0001"],
["CAM_UBEOCE0002", "MP_OUT0002"],
["CAM_UBEOCE0003", "MP_OUT0003"],
["Announcement-Unit", "MP_ANNOUNCEMENT_UNIT"],
["BSM_0001", "bldg_56_ref - REF_MOD_AP_1"],
["BSM_0002", "bldg_56_ref - REF_MOD_AP_2"],
["BSM_0003", "bldg_56_ref - REF_MOD_AP_3"],
["BSM_0004", "bldg_56_ref - REF_MOD_AP_4"],
["BSM_0005", "bldg_56_ref - REF_MOD_AP_5"],
["BSM_0006", "bldg_56_ref - REF_MOD_AP_6"],
["IPS-IN_2103", "bldg_56_ref - IPS_IN_AP_6"],
["IPS-IN_2061", "bldg_56_ref - IPS_IN_AP_8"],
["IPS-IN_2101", "bldg_56_ref - IPS_IN_AP_4"],
["IPS-IN_2108", "bldg_56_ref - IPS_IN_AP_1"],
["IPS-IN_2206", "bldg_56_ref - IPS_IN_AP_9"],
["IPS-IN_2071", "bldg_56_ref - IPS_IN_AP_15"],
["IPS-IN_2204", "bldg_56_ref - IPS_IN_AP_13"],
["IPS-IN_2202", "bldg_56_ref - IPS_IN_AP_11"],
["IPS-IN_2052", "bldg_56_ref - IPS_IN_AP_14"],
["IPS-OUT_1101", "bldg_56_ref - IPS_OUT_AP_3"],
["IPS-OUT_1131", "bldg_56_ref - IPS_OUT_AP_4"],
["IPS-OUT_1132", "bldg_56_ref - IPS_OUT_AP_5"],
["IPS-OUT_1121", "bldg_56_ref - IPS_OUT_AP_6"],
["IPS-OUT_1122", "bldg_56_ref - IPS_OUT_AP_7"],
["IPS-OUT_1111", "bldg_56_ref - IPS_OUT_AP_8"],
["EGCU0001", "bldg_56_ref - BDI_P_1"]]'