This commit is contained in:
Faraz Fallahi
2022-04-10 19:44:18 -04:00
parent 5ea7b06e2f
commit 2f1478d3d8
5 changed files with 7 additions and 16 deletions

View File

@@ -1,13 +1,9 @@
FROM fffaraz/qt:mxe
RUN \
cd /opt && \
git clone https://github.com/mxe/mxe.git && \
cd /opt/mxe && \
NPROC=$(($(nproc)+4)) && \
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='x86_64-w64-mingw32.shared' qt6-qtbase && \
ln -s /opt/mxe/usr/bin/x86_64-w64-mingw32.shared-qmake-qt6 /usr/bin/qmake && \
qmake --version && \
exit 0
ENV PATH="${PATH}:/opt/mxe/usr/bin"