|
|
|
|
@ -3,7 +3,7 @@ RUN apt update && apt install -y build-essential libgl1-mesa-dev git cmake libma
|
|
|
|
|
RUN git clone https://code.qt.io/qt/qt5.git /root/qt6
|
|
|
|
|
WORKDIR /root/qt6
|
|
|
|
|
RUN git checkout 6.4
|
|
|
|
|
RUN perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver
|
|
|
|
|
RUN perl init-repository --module-subset=qtbase,qtpositioning,qthttpserver,qtwebsockets
|
|
|
|
|
RUN mkdir /root/qt6-build && cd /root/qt6-build && /root/qt6/configure -no-opengl -no-gui -no-widgets -no-dbus -no-pcre -no-feature-accessibility -nomake examples -nomake tests -skip qtwebengine -- -D QT_BUILD_TOOLS_BY_DEFAULT=OFF
|
|
|
|
|
WORKDIR /root/qt6-build
|
|
|
|
|
RUN cmake --build . --parallel 2
|
|
|
|
|
|