Add qt6gtk2 (#59)

This commit is contained in:
TGP17 2024-01-08 21:25:36 +01:00 committed by GitHub
parent cf30470748
commit d537594304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,9 @@ RUN apt-get install -y \
ninja-build \ ninja-build \
glslang-dev \ glslang-dev \
glslang-tools \ glslang-tools \
file file \
# qt6gtk2 dependencies
gtk2.0
# Install LLVM 15 # Install LLVM 15
RUN wget https://apt.llvm.org/llvm.sh RUN wget https://apt.llvm.org/llvm.sh
@ -61,6 +63,10 @@ RUN ./llvm.sh 15 all
RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 150 RUN update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-15 150
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 150 RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-15 150
# Compile and install qt6gtk2
RUN git clone --recursive https://github.com/trialuser02/qt6gtk2
RUN cd qt6gtk2 && qmake6 && make && make install
# Download tools for building AppImages # Download tools for building AppImages
RUN wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage RUN wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
RUN wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage RUN wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage