Pietro
Pietro

Reputation: 13182

Qt5 installation problems

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.

Upvotes: 1

Views: 1976

Answers (2)

Stephen Chu
Stephen Chu

Reputation: 12832

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

Upvotes: 2

trojanfoe
trojanfoe

Reputation: 122401

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

See this guide at the official website.

Upvotes: 0

Related Questions