Is it possible to build qt libraries from sources for a 64 bit platform in Windows 7
I worked with the Qt
libraries that I compiled from the source code in Windows 7.
Built with the following configuration:
.\configure.bat -debug-and-release -platform win32-msvc2015 …
Is it possible to build the Qt
libraries without cygwin and mingw. Something like this:
.\configure.bat -debug-and-release -platform win-x64-msvc2015 …
1 answers
It was all because I didn't know that in 64-bit Windows 7, 32-bit Qt libraries are built by default (or I have settings for 32-bit versions somewhere).
To build 64-bit libraries, you need to run vcvarsall.bat
with the x64
option, and then, without specifying the platform, build Qt libraries.
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat x64
.\configure.bat -debug-and-release …
I got the answer here: https://stackoverflow.com/questions/59046684/how-to-build-64-bit-qt-libraries-without-cygwin-and-mingw-in-windows-7?noredirect=1