Qt5 installation problems

谁说我不能喝 提交于 2020-01-24 21:00:08

问题


I am trying to install Qt5 on OS-X 10.7.5, using the prebuilt binary version.

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

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.

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.

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

Thank you.


回答1:


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.

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




回答2:


In QtCreator, you can set the location of the Qt SDK you want to use.

See this guide at the official website.



来源:https://stackoverflow.com/questions/14424158/qt5-installation-problems

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!