The distribution I have is for Qt 5.14.2. I got that when I was a Qt Commercial subscriber, so I downloaded the pre-compiled distribution. Since Qt changed their policies on commercial subscriptions, I dropped that and now use Qt5 under LGPL terms. I haven't needed to build Qt from source.
There is a qt.pro file which will build the whole library, I think. You should be able to open this in QtCreator, set your kits to the VS 2022 compiler, and then build it. Alternatively, you should be able to open the .pro file in VS 2022 itself if you have installed the Qt Visual Studio Tools.
I have VS 2022 and the VS Qt tools, so I will try the build now and let you know what happens.
Edit: Also keep in mind that Qt built against VS 2015 is completely binary compatible with one built against VS 2022, and that is how I am using it. So if you can D/L a pre-compiled binary for VS 2015, use it.
Further edit: After 6 hours of waiting for Visual Studio to finish "creating solution from .pro file" I killed it. Not the way to go. Tomorrow I will try it from QtCreator with a VS 2022 kit.
Bookmarks