出现“the kit has a qt version.but no c++ compiler”错误通常意味着你的Qt Creator开发环境已经安装了Qt版本,但没有配置或检测到C++编译器。 要解决这个问题,你可以按照以下步骤操作: 确认C++编译器是否已安装: 如果你使用的是Windows系统,确保已经安装了Visual Studio,并且包含了C++开发组
Qt Creator needs a compiler set up to build. Configure a compiler in the kit options in the kit options". 报错原因:未设置好编译器路径解决办法: 打开“项目”,看到“未命名”套件的“构建”: 由于其Make套件中为设置编译器,所以报错 在“项目”选择&...
Qt Creator needs a compiler set up to build. Configure a compiler in the kit options,程序员大本营,技术文章内容聚合第一站。
要求你添加 qmake 是因为 Qt 都自带 qmake.exe,QtCreator 会调用 qmake.exe -query 这条命令获得这个 Qt 版本的所有信息,诸如安装路径在哪里,插件路径在哪里之类的。 QtCreator 支持使用 qmake 也支持 cmake 编译 Qt 工程,取决于你打开工程的时候,选择的是 .pro 文件还是 CMakeLists.txt 文件,如果是前者,QtC...
之后再配置Kits,按照下图设置,把Compiler选择一下就可以点确定了: guee 小吧主 15 接下来新建一个项目试试,在“文件”菜单点“New File or Project”,或者按快捷键“Ctrl+N”,新建一个工程:完全默认下一步,可见Kit Selection这一步已经可以选择“Desktop”了,完成新建项目,再按下“Crtl+R”或者“F5”,就...
Delete this fileC:\Users\AppData\Roaming\QtProject\qtcreator\toolchains.xmlto solve the problem. 原文:https://stackoverflow.com/questions/14700965/qt-creator-needs-a-compiler-set-up-to-build-configure-a-compiler-in-the-kit-opt 如果您觉得阅读本文对您有帮助,请点一下“推荐”按钮,您的“推荐”将...
Qt 5.2.1 for Windows 64-bit (VS 2012, 556 MB) (Info)但是由于电脑没有VS 2012,所以出现这个问题。后来发现64位Window是可以兼容32位系统的,所以建议你去下载这个:Qt 5.2.1 for Windows 32-bit (MinGW 4.8, OpenGL, 634 MB) (Info)因为我的电脑上有MinGW没有VS2012 qmake...
# The following define makes your compiler warn you if you use any # feature of Qt which has been marked as deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES ...
2. 偏好设置-Kits-构建套件(Kit)-手动设置-桌面(默认)-Qt版本-Qt 5.11.2 2. Qt Creator 创建项目报错 报错1: Project ERROR: failed to parse default search paths from compiler output Error while parsing file /Users/hanpeizhi/Qt5/testProject01/testProject01.pro. Giving up. 1. 2. 解决办法: ...
Windows系统下 QT Creator报错: Qt Creator needs a compiler set up to build. Windows系统下 QT Creator报错: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options. 提供一解决方案 在安装好QT之后,我遇到了上述报错,废了很大周折才解决掉,也在CSDN上找了海量的方案都...