Trying to Build Qt 5.13.2 for Windows
-
I checked out 5.13.2 branch on the Git repository and installed and added the required stuff to the PATH variable.
I have the OpenSSL and zlib installation directories in my PATH variable. And I also set the ZLIB_LIBS and OPENSSL_LIBS to the correct paths, respectively, and then tried to configure with:
configure -release -opensource -confirm-license -platform win32-msvc2019 -feature-thread -zlib -qt-libjpeg -qt-libpng -openssl-linked -prefix C:/qt5/qtbase/win32-msvc2019 -feature-schannel -feature-securetransport
from a separate directory (out-of-source build) and I got this error:
Running configuration tests... Checking for valid makespec... ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
And for some reason it's also passing
-top-level
to configure.bat. What do I do? Any help is appreciated. Thanks. -
@DragonOsman Check the configure log to see what exactly is the problem
-
I've decided to give up trying to build it and am now installing the 5.13.2 binaries directly. I have the GnuWin32 stuff needed for Qt WebKit, though, and I'm wondering if I'm still going to need to build that or if the prebuilt binaries come with it already.