2020-06-06 16:50:44 -04:00
|
|
|
FROM fffaraz/qt:mxe
|
|
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
|
cd /opt && \
|
|
|
|
|
git clone https://github.com/mxe/mxe.git && \
|
|
|
|
|
cd /opt/mxe && \
|
|
|
|
|
NPROC=$(($(nproc)+4)) && \
|
2022-04-10 16:47:00 -04:00
|
|
|
make --jobs=$NPROC JOBS=$NPROC MXE_TARGETS='x86_64-w64-mingw32.static' qt6-qtbase && \
|
|
|
|
|
ln -s /opt/mxe/usr/bin/x86_64-w64-mingw32.static-qmake-qt6 /usr/bin/qmake && \
|
2020-06-06 16:50:44 -04:00
|
|
|
qmake --version && \
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
ENV PATH="${PATH}:/opt/mxe/usr/bin"
|