我是Qt的全新,我下载的离线版本Qt 5.3.2 for Windows 64位(VS 2013,OpenGL,573 MB)
我无法编译我的项目。
我有:
Qt Creator 3.2.1 )基于Qt 5.3.2(MSVC 2010,32位)
在我的构建&运行,我有,对于套件:桌面Qt 5.3 MSVC2013 OpenGL 64位对于Qt版本:Qt 5.3 MSVC2013 OpenGL 64位
没有为编译器选项卡。我不知道我应该放在那一节。
我在尝试编译我的项目时收到以下错误讯息:
14:44:12:配置错误。
在建立/部署项目时发生错误TextFinder(kit:Desktop Qt 5.3)
和
Qt creator需要一个编译器来建立。在套件选项中配置编译器。
解决方案
转到工具 - >选项 - >构建&运行并在编译器选项卡上单击添加以添加新编译器。您还可以在套件选项卡上管理套件。不要忘记在 Qt版本选项卡上设置 qmake 。
此外,如果您想要 MSVC 版本 Qt ,您需要安装 Microsoft根据您使用的 Qt 的版本,Visual Studio 2010 或 2013 >
如果您是初学者,我建议您从 MinGW -project/official_releases/qt/5.3/5.3.2/qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe\">qt-project ,一切都应该很好。
MinGW 版本使用Windows版本 GCC c $ c> VS 使用Microsoft的编译器。
I'm totally new with Qt and I downloaded the offline version " Qt 5.3.2 for Windows 64-bit (VS 2013, OpenGL, 573 MB)"
I'm unable to compile my project.
I have:
Qt Creator 3.2.1 (opensource) Based on Qt 5.3.2 (MSVC 2010, 32 bit)
In my Build & Run, I have, For the kit: Desktop Qt 5.3 MSVC2013 OpenGL 64bit For Qt version: Qt 5.3 MSVC2013 OpenGL 64bit
and there is nothing for the compilers tab. I don't know what I should put in that section. What did I miss?
I got the following error message while trying to compile my project:
14:44:12: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project TextFinder (kit: Desktop Qt 5.3
MSVC2013 OpenGL 64bit) When executing step "Make"
and
Qt creator needs a compiler set up to build. Configure a compiler in the kit options.
解决方案
Go to Tools->Options->Build & Run and on the Compilers tab click Add to add a new compiler. You can also manage kits on the Kits tab. Don't forget to setup qmake on the Qt Versions tab.
Also if you want the MSVC version of Qt you need to install Microsoft Visual Studio 2010 or 2013 depending on the version of Qt you use.
If you are a beginner I recommend you download the MinGW version from qt-project and everything should work just fine.
MinGW versions use the windows versions of GCC while VS uses Microsoft's compiler.
更多推荐
如何在Qt中设置编译器?
发布评论