QT versions, kits and compilers(QT 版本、工具包和编译器)
问题描述
我是 QT 新手,想知道 QT 版本、工具包和编译器之间有什么区别.在我的构建和运行"选项卡中可用:
I am new in QT and was wondering what is the difference between QT versions, kits and compilers. In my "Build & Run" tab are avilable:
套件:
- 桌面 Qt 5.4.2 MSVC2013 64bit2
- 桌面Qt 5.5.0 MSVC2013 64bit
Qt 版本:
- Qt 5.4.2 MSVC2013 64bit2 和一些 qmake.exe 路径
- Qt 5.5.0 MSVC2013 64bit 和一些 qmake.exe 路径
编译器:
- Microsoft Visual C++ 编译器 12.0(x86)
- Microsoft Visual C++ 编译器 12.0(amd64)
- Microsoft Visual C++ 编译器 12.0(x86_amd64)
- Microsoft Visual C++ 编译器 12.0(x86_arm)
- Microsoft Visual C++ 编译器 12.0(amd64_arm)
- Microsoft Visual C++ 编译器 9.0(x86)
- Microsoft Visual C++ 编译器 9.0(x86_amd64)
- Windows Mobile 5.0 掌上电脑 SDK (ARMV4I)
- Windows Mobile 5.0 智能手机 SDK (ARMV4I)
我尝试将 tesseract 3.02 与 QT 链接(之前我已成功将其与 Visual Studio 2013 链接)但出现了如下非常奇怪的错误:
I tried to link tesseract 3.02 with QT(I have linked it with Visual Studio 2013 successfuly before that) but very strange errors like below appeared:
但后来我记得在 VS 2013 中这是因为在 64 位编译中使用了 32 位库.我下载的 Qt 设置是qt-unified-windows-x86-2.0.2-2-online.exe",即它是 32 位的.现在我很困惑——我现在为我的项目 64 或 32 使用什么位,64 位和 64 位 2 有什么区别,必须是 32 位——编译器、qt 版本或工具包.如果有人可以简单解释一下什么是套件,qt版本和使用的编译器(我当然知道什么是编译器,但无法获得SDK和编译器之间的参考).
But then I have remembered in VS 2013 this was becouse of the use of 32 bit libs in 64 bit compilation. The Qt setup I have downloaded is "qt-unified-windows-x86-2.0.2-2-online.exe" i.e. it is 32 bit. And now I am very comfused - what bits I am using right now for my project 64 or 32, what is the difference between 64bit and 64bit2, which must be 32 bit - the compiler, the qt version or the kits. If someone can give simple explanation together with for what are kits,qt version and compilers used(of course I know what is compiler, but cant get the reference between SDK and compiler).
推荐答案
Qt 版本是您从 digia 下载的 Qt 包(库、源代码、文档等...),编译器是您机器上的编译器和套件是这两者的有效组合.
Qt versions are Qt packages that you download from digia (libraries, source code, documentation, etc...), compilers are the compilers you have on your machine and kits are valid combinations of these two.
在你的情况下,你有:
- Qt 5.4.2 64 位
- Qt 5.5.0 64 位
- Msvc 32 位和 64 位
您可以将两个 Qt 版本(即 64 位)与 64 位版本的 msvc 编译器结合使用,但不能与其 32 位版本结合使用.
you can combine the two Qt versions (that are 64bit) with the 64bit version of the msvc compiler, but not with its 32bit version.
这篇关于QT 版本、工具包和编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:QT 版本、工具包和编译器


基础教程推荐
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01
- 这个宏可以转换成函数吗? 2022-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 常量变量在标题中不起作用 2021-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 我有静态或动态 boost 库吗? 2021-01-01