3

I've just installed Qt Creator from the Ubuntu Software Center.

When I try to open any project other than a Qt Quick project I get following error message:

No valid qt versions found.
Please add a qt version in Tools/Options or via the maintenance tool of the SDK.

In Tools → Options → Qt4, qmake-qt4 was added to the list automatically.

This is what my Qt4 options menu looks like.

qt-creator options menu

Here is the output of dpkg --get-selection | grep qt.

What am I missing to get Qt Creator to let me open Qt C++ projects?

Octavian Helm
  • 14,355

3 Answers3

5

The problem wasn't the missing Qt version but the missing tool chain.

In Tools → Options → Tool Chains add GCC and set your gcc path as the Compiler path.

Octavian Helm
  • 14,355
5

I thought the qtCreator package would install g++, make, etc., but it doesn't. Install build-essential to solve it :).

Jose
  • 51
  • 1
2

As to me, it looks perfectly fine. My Qt versions tab in options dialog looks identically.
The only thing that comes into my mind, is that Qt version is saved per-project, which means that you need to change Build Settings in Projects tab by explicitly selecting Default Qt Version.