安装后添加QT版本 [英] ADD QT Versions after installation

查看:195
本文介绍了安装后添加QT版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了具有以下设置的开源QT 5.5.0:

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

套件:

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

Qt版本:

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

编译器:

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)

但是现在我想添加32位QT版本,以便能够将它们与32位套件中的x86编译器结合使用,例如Lucacox在此处无需再次从安装程序中预安装QT.我已经尝试过使用工具->构建&运行-> QT版本->添加,但不知道.qmake是否足够以及在哪里找到它(基于上述Lucacox的答案,我认为还不够-也许至少需要从某个地方下载该版本).有什么办法吗?

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?

安装程序不允许在同一安装中添加QT版本:

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

推荐答案

您可以使用Qt维护工具轻松地添加特定的标准Qt构建.只要您在Windows上,就可以通过键入以下内容找到一个:"Windows + S Qt Maint ...",或者在添加/删除程序"控制面板中找到QT,然后单击更改".

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".

请注意,您可以将一个Qt Creator与不同的预构建目标Qt一起使用.我对32位和64位都执行此操作,而无需替换工具本身.这都是关于选择正确的编译器工具包并选择/为您的项目目标添加Qt .

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.

这篇关于安装后添加QT版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆