This workflow builds static binaries of Qt.
All modules except QtWebEngine are included. QtMultimedia has no ffmpeg backend
- Extract the toolchain wherever you want to keep it
- In Qt Creator, go to "Projects" tab
- Press "Manage Kits"
- Go to Kits->Qt Versions
- Press "Add"
- Select qmake or qmake6 executable present in the toolchain folder previously extracted under the "bin" subfolder
- Press "Apply"
- Go to Kits->Kits
- Press "Add"
- Under the "Compiler" selection, select the correct compiler for the downloaded toolchain
- Under the "Qr Version" selection, select the previously created Qt version
- If needed, compile other fields
- Press "Apply"
- Extract the toolchain wherever you want to keep it
- Add the "bin" subfolder to your PATH
- Add the correct compiler to your PATH
- Configuration summmaries for each platform and version are present in the release tab
- All modules except QtWebEngine are included, since QtWebEngine cannot be built statically.
- QtMultimedia has no ffmpeg backend
- Builds are configured with:
- Embedded libjpeg, libpng, pcre, zlib
- System harfuzz and freetype, since they are needed in order to use fontconfig for system fonts
- A fix is applied to QtOpcUa, because it redefined the openssl symbols that were already defined by QtNetwork
- The correct MinGW version must be installed to the system and configured in Qt Creator
- In order to use QtNetwork and QtOpcUa, OpenSSL must be installed. to do so, run
vcpkg install openssl:x64-windows-static-release
- In order to use QtNetwork and QtOpcUa, OpenSSL must be installed. to do so, run
vcpkg install openssl:arm64-windows-static-release
- ARM64 builds are currently untested
- Builds are currently untested
