仅在 Windows 7 上安装了 IDE.我想创建一个普通的 C++ 项目(非 QT 项目);但是我收到一个错误:找不到有效的套件.当我点击 Options->Kits 时,我看到了 Desktop (default) 套件,它没有显示任何错误.
Installed just the IDE on Windows 7. I want to create a Plain C++ Project (Non-QT Project); however I get an error: No valid kits found. When I click on Options->Kits, I see the Desktop (default) kit, and it shows no errors.
我收到错误是因为我没有安装 Qt 库吗?如果是这样,有什么办法可以绕过下载/安装,而只使用 IDE?
Am I getting the error because I didn't install a Qt library? If so, is there any way I can bypass downloading/installing that and just use the IDE?
发现问题.Qt Creator 希望您使用在其 Qt 库之一下列出的编译器.使用维护工具来安装它.
Found the issue. Qt Creator wants you to use a compiler listed under one of their Qt libraries. Use the Maintenance Tool to install this.
这样做:
转到工具"->选项...".选择构建和"向左跑.打开套件选项卡.您应该在列表中包含 Manual -> Desktop(默认)行.选择它.现在在Qt版本的PATH(qt5)中选择类似Qt 5.5.1的东西组合框,然后单击应用按钮.从现在开始你应该可以创建、构建和运行空的 Qt 项目.
Go to Tools -> Options.... Select Build & Run on left. Open Kits tab. You should have Manual -> Desktop (default) line in list. Choose it. Now select something like Qt 5.5.1 in PATH (qt5) in Qt version combobox and click Apply button. From now you should be able to create, build and run empty Qt project.
这篇关于QtCreator:找不到有效的套件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何在 C++ 中读取和操作 CSV 文件数据?How can I read and manipulate CSV file data in C++?(如何在 C++ 中读取和操作 CSV 文件数据?)
在 C++ 中,为什么我不能像这样编写 for() 循环:In C++ why can#39;t I write a for() loop like this: for( int i = 1, double i2 = 0; (在 C++ 中,为什么我不能像这样编写 for() 循环: for(
OpenMP 如何处理嵌套循环?How does OpenMP handle nested loops?(OpenMP 如何处理嵌套循环?)
在循环 C++ 中重用线程Reusing thread in loop c++(在循环 C++ 中重用线程)
需要精确的线程睡眠.最大 1ms 误差Precise thread sleep needed. Max 1ms error(需要精确的线程睡眠.最大 1ms 误差)
是否需要“do {...} while ()"?环形?Is there ever a need for a quot;do {...} while ( )quot; loop?(是否需要“do {...} while ()?环形?)