Qt5安装问题 [英] Qt5 installation problems

查看:146
本文介绍了Qt5安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用一切似乎都OK,QtCreator已安装并且可以正常工作.

Everything seems to be OK, QtCreator is installed and it works.

但是,当我创建一个新项目时,出现错误:找不到有效的工具包".检测到的Qt版本似乎只是旧的Qt4之一.

However when I create a new project, I get the error: "No valid kit found". The Qt version detected seems to be the old Qt4 one only.

我用于安装的文件是包含以下所有内容的文件:Qt5,QtCreator,...(398 MB),但安装后似乎只有带有QtCreator的目录可用.

The file I used for the installation is the one that contains everything: Qt5, QtCreator, ... (398 MB), but when installed only the directory with QtCreator seems to be available.

我应该先卸载Qt4吗?
其他人有问题吗?

Should I uninstall Qt4 first?
Is it a problem anybody else had?

谢谢.

推荐答案

Qt Creator 2.6引入了工具包"的概念.您需要至少一个套件正确配置了Qt版本和工具链.不幸的是,SDK的安装并没有为您配置该工具包,而该文档完全是缺少的.

Qt Creator 2.6 introduced the concept of "Kits." You need to have at least one kit properly configured with a Qt version and tool chain. Unfortunately, the SDK install doesn't configure the kit for you and the documentation is just outright lacking.

有关如何设置套件的一些信息.该页面甚至没有从主文档页面链接. http://doc-snapshot.qt-project.org/qtcreator -2.6/creator-targets.html

Here's some information on how to setup a kit. The page is not even linked from the main doc pages. http://doc-snapshot.qt-project.org/qtcreator-2.6/creator-targets.html

这篇关于Qt5安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆