Files
qt-migration-legatus/qt5-before/dlbo/Lts/Tools/Niklas-Excon-Helper/Dockerfile
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

74 lines
2.0 KiB
Docker

FROM opensuse/leap:15.1
RUN rm /etc/zypp/repos.d/*
COPY ./*.repo /etc/zypp/repos.d/
RUN zypper ref
#RUN zypper --non-interactive dup
RUN zypper install -y python3 python3-pip
RUN zypper in -y python3-devel
COPY req.txt /
ENV http_proxy="http://mike-lennart.wille%40rheinmetall.com:1ZwQG147@213.61.254.67:8080/"
ENV https_proxy="http://mike-lennart.wille%40rheinmetall.com:1ZwQG147@213.61.254.67:8080/"
#ENV no_proxy="192.168.133.0/24, 10.0.0.0/8"
ENV no_proxy="10.198.80.75"
RUN zypper in -y wget
RUN wget https://sh.rustup.rs -O rustup.sh && chmod u+x rustup.sh && ./rustup.sh -y
RUN ln /root/.cargo/bin/* /usr/local/bin/ -s
#RUN pip3 install -r req.txt
RUN pip3 install --upgrade pip
RUN pip3 install altgraph==0.17.4
RUN zypper in -y gcc
RUN pip3 install bcrypt==4.0.1
RUN pip3 install cffi==1.15.1
RUN pip3 install colorama==0.4.5
RUN zypper in -y pkg-config
RUN zypper in -y openssl-devel
RUN zypper in -y openssl
ENV PKG_CONFIG_PATH=/usr/lib/pkgconfig
RUN pip3 install cryptography
RUN pip3 install evdev
RUN pip3 install importlib-metadata==4.8.3
RUN pip3 install MouseInfo==0.1.3
RUN pip3 install Nuitka==1.3
RUN pip3 install paramiko==3.3.1
RUN pip3 install Pillow==8.4.0
RUN pip3 install psutil==5.9.6
RUN pip3 install pycparser==2.21
RUN pip3 install PyGetWindow==0.0.9
RUN pip3 install pyinstaller-hooks-contrib==2022.0
RUN pip3 install PyMouse==1.0
RUN pip3 install PyMsgBox==1.0.7
RUN pip3 install PyNaCl==1.5.0
RUN pip3 install pynput==1.7.6
RUN pip3 install pyperclip==1.8.2
RUN pip3 install PyRect==0.2.0
RUN pip3 install PyScreeze==0.1.26
RUN pip3 install python-xlib==0.33
RUN pip3 install python3-xlib==0.15
RUN pip3 install pytweening==1.0.7
RUN pip3 install six==1.16.0
RUN pip3 install typing_extensions==4.1.1
RUN pip3 install zipp==3.6.0
RUN pip3 install pyinstaller==4.10
RUN pip3 install prompt_toolkit
RUN pip3 install rich
RUN mkdir app
COPY ExconHelper app
RUN rm -rf main
RUN pyinstaller -F -w -y app/main.py
RUN ls /dist
RUN mkdir output
RUN cp /dist/main /output/main
RUN ls /output
CMD ["echo", "Build complete"]