Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
安装后添加QT版本_Qt_Installation - Fatal编程技术网

安装后添加QT版本

安装后添加QT版本,qt,installation,Qt,Installation,我已使用以下设置安装了开源QT 5.5.0: 工具包: 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 1

我已使用以下设置安装了开源QT 5.5.0:

工具包:

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的回答,我认为它不够-也许至少需要从某处下载版本)。有什么可能的办法吗

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


您可以使用Qt维护工具轻松完成添加特定的标准Qt版本。只要您在Windows上,就可以通过键入“Windows+S Qt Maint…”或在“添加/删除程序”控制面板中查找Qt并单击“更改”来查找Qt


请注意,您可以将一个Qt创建者与不同的预构建目标Qt一起使用。我对32位和64位都这样做,而不需要更换工具本身。所有这些都是关于为您的项目目标选择合适的和/的。

维护工具位于“Qt\u installation\u dir/MaintenanceTool.exe”中。在windows中运行它的第二种方法是“控制面板->程序和功能->查找qt程序->右键->更改”。我想补充的是,有时维护工具中没有指向存储库的链接。如果是这样,您可以通过添加url或(等等)将它们添加到设置中。您还应该提到,如果您第一手只安装了一个特定的qt版本,这可能不起作用。我有这个问题,只有一个5.9维护工具,在那里我只能管理Qt5.9.2版本。在这种情况下,我最终重新安装了qt。是否有MAC版本的维护工具?@ChuckB
一旦安装了qt,您就可以使用下面的维护工具添加组件并更新或删除已安装的组件。
(在Windows 10中,可以通过“开始”菜单中的“卸载qt”项访问此项)
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)