14 lines
393 B
Docker
14 lines
393 B
Docker
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"
|