Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

QtCreator: No valid kits found

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.

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?

like image 867
Agrim Pathak Avatar asked Oct 22 '14 02:10

Agrim Pathak


People also ask

What are kits in Qt Creator?

Each kit consists of a set of values that define one environment, such as a device, compiler, Qt version, and debugger command to use, and some metadata, such as an icon and a name for the kit. Once you have defined kits, you can select them to build and run projects.


1 Answers

Though OP is asking about Windows, this error also occurs on Ubuntu Linux and Google lists this result first when you search for the error"QtCreator: No valid kits found".

On Ubuntu this is solved by running:

For Qt5:

sudo apt-get install qt5-default 

For Qt4:

sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui 

This question is answered here and here, though those entries are less SEO-friendly...

like image 101
mmdanziger Avatar answered Sep 24 '22 22:09

mmdanziger