This commit is contained in:
Faraz Fallahi
2022-04-24 16:34:14 -04:00
committed by GitHub
parent 1fd6fbd55d
commit d0c1131441
6 changed files with 19 additions and 17 deletions

View File

@@ -2,8 +2,15 @@ FROM fffaraz/qt:mxe
RUN \
cd /opt/mxe && \
NPROC=$(($(nproc)+4)) && \
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='x86_64-w64-mingw32.static' qtbase && \
ln -s /opt/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt5 /usr/bin/qmake && \
make --jobs=$(nproc) JOBS=$(nproc) MXE_TARGETS='x86_64-w64-mingw32.static' qt6-qtbase && \
exit 0
ENV PATH="${PATH}:/opt/mxe/usr/x86_64-w64-mingw32.static/qt6/bin"
RUN \
set -eux && \
echo $PATH && \
ln -s /opt/mxe/usr/bin/x86_64-w64-mingw32.static-cmake /usr/local/bin/cmake && \
cmake --version && \
qmake --version && \
exit 0