Qt Shared Build Environment for MinGW 7-8-10-11/LLVM Clang 10/11/14/16 (OpenSSL + libjpeg-turbo)
10K+
This Qt Shared Build Environment works with 32-Bit and 64-Bit MinGW. Default is set to 64-Bit.
You can change which Qt to use with QT_SELECT environment variable or with -qt= argument.
export QT_SELECT=qt5-x86_64-w64-mingw32
export QT_SELECT=qt5-i686-w64-mingw32
qmake -qt=qt5-x86_64-w64-mingw32
qmake -qt=qt5-i686-w64-mingw32
You can install packages in the container with: apt-get update && apt-get install package
Linux Distribution is Debian Buster
Note: You need to copy all DLL Files from MinGW and the Qt modules you use to the Application folder. More information at the DLL Distribution Guide.
/opt/llvm-mingw/i686-w64-mingw32/bin/libc++.dll
/opt/llvm-mingw/i686-w64-mingw32/bin/libunwind.dll
/usr/local/lib/i686-w64-mingw32/qt5/bin/*.dll
/usr/local/lib/i686-w64-mingw32/qt5/plugins/*
/usr/local/lib/i686-w64-mingw32/openssl/bin/*.dll
/opt/llvm-mingw/x86_64-w64-mingw32/bin/libc++.dll
/opt/llvm-mingw/x86_64-w64-mingw32/bin/libunwind.dll
/usr/local/lib/x86_64-w64-mingw32/qt5/bin/*.dll
/usr/local/lib/x86_64-w64-mingw32/qt5/plugins/*
/usr/local/lib/x86_64-w64-mingw32/openssl/bin/*.dll
When you use Qt Network, you need to include libcrypto-1_1.dll and libssl-1_1.dll
You need include always libc++.dll and libunwind.dll
You need include Qt modules you use Qt5Core.dll Qt5Gui.dll Qt5Widgets.dll etc.
For Console Applications you need to include Qt Plugin platforms/qminimal.dll
For Gui Applications you need to include Qt Plugin platforms/qwindows.dll and styles/qwindowsvistastyle.dll
YourApplication.exe
libc++.dll
libcrypto-1_1.dll
libssl-1_1.dll
libunwind.dll
Qt5Core.dll
Qt5Gui.dll
Qt5Network.dll
Qt5Widgets.dll
platforms/qwindows.dll
styles/qwindowsvistastyle.dll
YourApplication.exe
libc++.dll
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
libunwind.dll
Qt5Core.dll
Qt5Gui.dll
Qt5Network.dll
Qt5Widgets.dll
platforms/qwindows.dll
styles/qwindowsvistastyle.dll
Note: Some file names could vary depends on the library versions.
docker pull syping/qt5-shared-llvm-mingw
docker run --rm -v ${PWD}:/root/project -it syping/qt5-shared-llvm-mingw
cd ~/project
qmake
make -j$(nproc --all)
Docker Image GitLab Repository you can find here.
Content type
Image
Digest
sha256:3a6724649…
Size
378 MB
Last updated
over 3 years ago
docker pull syping/qt5-shared-llvm-mingw