[Interest] Provide a Means to Make Static Builds of Qt 6.1 for Android, macOS, Windows and GNU/Linux
alexandru.croitor at qt.io
Fri Sep 3 12:13:57 CEST 2021
Coin CI mostly just calls CMake with the configuration options specified at the link below (there are some additional configuration in other sibling files)
The ones that are building Qt as static libraries have -DBUILD_SHARED_LIBS=OFF in the configure arguments.
Note your subject mentions Android. Qt For Android is only supported with shared libraries.
Building the desktop platforms in a static configuration should work though.
> On 3. Sep 2021, at 12:06, Ben Cottrell <bencot at windowslive.com> wrote:
> I've tried to configure and build Qt 6.1 statically, and have succeeded
> doing so on GNU/Linux, specifically Debian 11.
> However, configuring and building Qt on Microsoft Windows on a Windows
> host with either MinGW or MSVC has been impossible.
> I would like to have virtual machines or Docker containers that allow
> me to build Qt statically for all prior mentioned platforms. If it's
> possible to use coin's scripts locally instead, please tell me how.
> Interest mailing list
> Interest at qt-project.org
More information about the Interest