Prebuild Qt 32 Bit versions for Visual Studio 2017?
The Qt Installer only offers "msvc2017 64-bit", "UWP x86 (MSVC2017)" and "UWP x64 (MSVC2017)" versions for Qt 5.9, but no "msvc2017 32-bit" version.
It seems the 32 bit Qt versions build for Visual Sudio 2015 works with Visual Studio 2017 too. I tested this with Qt 5.6.2 "msvc2015 32-bit" from the Qt Installer. The program compiles with VS 2017 and it seems to work without problems. So the question is, can the Qt 32 bit versions build for Visual Studio 2015 be used for Visual Studio 2017 without problems too? Are the compilers of VS2015 and VS 2017 ABI compatible?
VS 2015 and 2017 are binary compatible. That is an official claim by Microsoft. You can read some statements (and self-praise :-) about it in the VS blog: https://blogs.msdn.microsoft.com/vcblog/2017/03/07/binary-compatibility-and-pain-free-upgrade-why-moving-to-visual-studio-2017-is-almost-too-easy/
Hi and welcome to devnet,
Yes, VS2017 is the first version of Visual Studio that is backward compatible but only with VS2015.
I had the same question. But if Visual Studio 2015/2017 are binary compatible why a 64 bit version of libraries for VS2017 has been released?
why a 64 bit version of libraries for VS2017 has been released
If 64bit build for VS2017 would not be there than many people would ask "why isn't it available? How can I use Qt with VS2017?..."
Because that's the current officially supported compiler by Microsoft and while being binary compatible, these two compilers are different with new features supported and bug fixes going in VS2017.
@jsulm my guess is he meant to write "why only a 64 bit version..." since there's no 32 bit version offered. Searching for a reason for the lack of a 32 bit msvc2017 is what brought me here.
Searching for a reason for the lack of a 32 bit msvc2017 is what brought me here.
The reason is simply the lack of resouces. if you provide a installer, you not only have to compile and package it, but you also have to test the package. this is also a manual task and has to be repeatet for IIRC 5 installers on Windows currently.
Nevertheless, you can of course compile your own 32 bit version yourself.