问题描述
我是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:
套件:
- Desktop Qt 5.4.2 MSVC2013 64bit2
- 桌面Qt 5.5.0 MSVC2013 64位
版本:
- Qt 5.4.2 MSVC2013 64位2和一些qmake.exe路径
- 0 MSVC2013 64位和一些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)
-
- Windows Mobile 5.0 Pocket PC SDK(ARMV4I) li>
- Windows Mobile 5.0智能手机SDK(ARMV4I)
- 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)
我试图将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,64bit和64bit2之间的区别,这必须是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 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位)版本的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版本,套件和编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!