ADD QT Versions after installation

2019-06-22 05:14发布

问题:

I have installed the opensource QT 5.5.0 with the following settings:

Kits:

Desktop Qt 5.4.2 MSVC2013 64bit2
Desktop Qt 5.5.0 MSVC2013 64bit

Qt Versions:

Qt 5.4.2 MSVC2013 64bit2 and some qmake.exe path
Qt 5.5.0 MSVC2013 64bit and some qmake.exe path

Compilers:

Microsoft Visual C++ Compiler 12.0(x86)
Microsoft Visual C++ Compiler 12.0(amd64)
Microsoft Visual C++ Compiler 12.0(x86_amd64)
Microsoft Visual C++ Compiler 12.0(x86_arm)
Microsoft Visual C++ Compiler 12.0(amd64_arm)
Microsoft Visual C++ Compiler 9.0(x86)
Microsoft Visual C++ Compiler 9.0(x86_amd64)
Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
Windows Mobile 5.0 Smartphone SDK (ARMV4I)

But now I want to add 32 bit QT versions to be able to combine them with x86 compilers in 32 bit kit like Lucacox mentioned here withouth the necessity to preinstall QT from the setup again. I have tried from tools->Build & Run -> QT Versions -> Add but dont know if .qmake is enough and where to find it(based on the answer of Lucacox above I think it is not - maybe at least downloading the version from somewhere is needed). Is there any possible way?

The installer does not allow adding QT Versions in the same installation:

回答1:

You can easily accomplish adding specific standard Qt builds with Qt Maintenance Tool. As long as you are on Windows find one by typing: "Windows+S Qt Maint...", or by finding QT in the Add/Remove Programs Control Panel and clicking "Change".

Mind that you can use one Qt Creator with different prebuilt target Qt. I do that for both 32 and 64 bit without replacing the tool itself. It is all about choosing proper Compiler Kit and choosing/adding Qt for your project target.