|
|
|
@ -2,10 +2,10 @@ FROM debian:11
|
|
|
|
RUN apt update && apt install -y build-essential libgl1-mesa-dev git cmake libmariadb-dev
|
|
|
|
RUN apt update && apt install -y build-essential libgl1-mesa-dev git cmake libmariadb-dev
|
|
|
|
RUN git clone https://code.qt.io/qt/qt5.git qt6
|
|
|
|
RUN git clone https://code.qt.io/qt/qt5.git qt6
|
|
|
|
WORKDIR /root/qt6
|
|
|
|
WORKDIR /root/qt6
|
|
|
|
RUN perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver
|
|
|
|
RUN cd /root/qt6 && perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver
|
|
|
|
RUN /root/qt6/configure
|
|
|
|
RUN mkdir /root/qt6-build && cd /root/qt6-build && /root/qt6/configure
|
|
|
|
RUN cmake --build . --parallel 4
|
|
|
|
RUN cd /root/qt6-build && cmake --build . --parallel 4
|
|
|
|
RUN cmake --install .
|
|
|
|
RUN cd /root/qt6-build && cmake --install .
|
|
|
|
ENV QTVERSION=6.4.2
|
|
|
|
ENV QTVERSION=6.4.2
|
|
|
|
WORKDIR /usr/local/Qt-${QTVERSION}/bin
|
|
|
|
WORKDIR /usr/local/Qt-${QTVERSION}/bin
|
|
|
|
RUN rm -rf /root/*
|
|
|
|
RUN rm -rf /root/*
|
|
|
|
|