Solved Update Qt kits after the install + global questions about Qt installation
Hi all !
I made a Qt project under msvc2013_x64 and i wanted to do it for x32 versions too.
I don't have any questions about deployment but i'm running into a snag --> I don't have msvc2013 x32 as a folder under Qt5.9.2 version.
So here is my questions :
How do Qt finds out those compilers ?
How can i add them ?
--> Manually ? --> where can i find the files to add ?
--> During the install ? --> is there a way to update it, instead of reinstall everything ?
I heard about Qt maintenance tool but the only thing that looks like it, is a MaintenanceTool.exe.new file in the Qt root folder. I can't open it and changing it to a simple .exe doesn't work either...
Does someone have some explanations please ?
@Sillimon You need to install Qt for VS2013 32bit first.
MaintenanceTool.exe.new ?! Looks like an update failed. Try to reinstall Qt using Qt online installer.
How did you manage to get the current installation of Qt 5.9.2?
Online installer can be found the offical Qt page while answering all questions supporting you in finding the right license model. They can be found also in the archive
You fiind typically all officially pre-compiled Qt version through the online installer. It helps you alsoto find the right compilers.
MS compiler haveno compatibility between major compiler versions (exclusion are the tweo latest VS2015 and VS2017). Therefore you need to pay attention to what you choose as pre-compiled version. When you have only VS2013 it will not help to install Qt pre-compiled for VS2015 for instance.
The number of different pre-compiled versions has to be kept to a minimum. Therefore, it is very likely that there is no pre-compiled version for VS2013 and newer Qt versions available. Another issue is the difference between 64 and 32 bit. AFAIK the pre-compilation of 32 bit for VS compiler has been abandoned around Qt version 5.4.
I don't really remember how... that was a long time ago. But i think not with with the online installer.
I easily found the online installer but i'd prefer not reinstall it another time. I did it though on the advice of @jsulm and i noticed that, as you said if i understood right, above 5.8 version of Qt, MSVC2013 is only available in 64 bits.
The point is, i'm using a library compiled with VS2013, other versions won't do the job.
I can easily change my kit for 5.8 versions, it's all fine but i have 2 questions, nevermind if there is no answer, that's all a fruit of curiosity :
"When you have only VS2013 it will not help to install Qt pre-compiled for VS2015 for instance" --> I got them all from 2012 to 2017, does it mean the Qt installer can check wich kind of compilers you got or is it simply suggesting everything available for EACH VERSIONS of Qt ?
Is there no other way to "force" latest versions of Qt with a msvc2013 32bits ?
Thanks to you both for all those precisions !
- It's you who decide what to install, Qt installer simply offers you different versions for different compilers. You as developer should know what to install.
- Not for newer versions of Qt. 32 bit is not provided anymore as it is too much work for the project to build all these versions and test them. If you need a newer Qt version for VS2013 32bit you will need to build Qt from source code by yourself.
"Not for newer versions of Qt. 32 bit is not provided anymore as it is too much work for the project to build all these versions and test them. If you need a newer Qt version for VS2013 32bit you will need to build Qt from source code by yourself."
Just as MSVC2017 on 5.10 is only available in x64 right ? 32bits seems just available for the 2015 version but i think is also compatible with 2017.
@Sillimon 2015 should be compatible with 2017. These two VS versions are compatible (for the first time).
I found the 2017 versions of the library and used msvc2015_32 and msvc2017-64 and it works perfectly !
Thanks a lot !