No valid kits found, although a kit exists
-
I'm trying to open a new project in Qt Creator, and I'm getting a "No valid kits found" error. In options I do see a kit configured.
In Options > Kits I have Desktop (Default) with the following settings:
Name: Desktop
File system name: [empty]
Device type: Desktop
Device: Local PC (default for Desktop)
Sysroot: [empty]
Compiler: GCC (x86 64bit in /usr/bin)
Environment: No changes to apply.
Debugger: System GDB at /usr/bin/qdb
Qt version: Qt 5.2.1 (qt5)
Qt mkspec: [empty]
CMake Tool: [empty]Thanks
-
Hi and welcome to devnet,
Do you have Qt 5.2.1 installed properly ? You can check that in Qt Version
-
@AlaaM said:
In About I see:
Qt Creator 3.5.1 (opensource)
Based on Qt 5.5.1 (GCC 4.9.1)
Built on Oct 13 2015That is information about Qt Creator; that is not information about your kit.
To find information about your Qt versions, see Tools -> Options -> Build & Run -> Qt Version
@AlaaM said:
In Options > Kits I have Desktop (Default) with the following settings:
Name: Desktop
File system name: [empty]
Device type: Desktop
Device: Local PC (default for Desktop)
Sysroot: [empty]
Compiler: GCC (x86 64bit in /usr/bin)
Environment: No changes to apply.
Debugger: System GDB at /usr/bin/qdb
Qt version: Qt 5.2.1 (qt5)
Qt mkspec: [empty]
CMake Tool: [empty]Is there a red or yellow warning icon next to this kit?
-
Yes, there is a yellow warning.
Please see this image:
http://i.stack.imgur.com/gohot.png -
@AlaaM said:
Yes, there is a yellow warning.
Please see this image:
http://i.stack.imgur.com/gohot.pngI meant your kit. Is there a warning icon next to the kit?
If there is an icon, hover your mouse cursor over it. What message does it give you?
Also, can you tell us how you installed Qt?
-
No, there's no warning icon next to the kit:
http://i.stack.imgur.com/1H1TX.png
I installed Qt from here:
download.qt.io/official_releases/qtcreator/3.5/3.5.1/qt-creator-opensource-linux-x86_64-3.5.1.run -
That's not Qt. You used the Qt Creator installer. So you likely have the system installed Qt available but might be missing the related developer tools.
So two options:
- Install the Qt dev package(s) from your distribution
- Get the online installer for Qt itself and use that to install Qt
-
@AlaaM said:
Are you talking about this:
run sudo apt-get install libqt4-dev
?No, that's Qt 4. @SGaist suggested that you install Qt 5.
@AlaaM said:
No, there's no warning icon next to the kit:
http://i.stack.imgur.com/1H1TX.pngHmm, the kit looks ok.
Can you describe exactly what kind of project you're trying to create, when you got the "No valid kits" error message?
@AlaaM said:
Yes, there is a yellow warning.
Please see this image:
http://i.stack.imgur.com/gohot.pngThis image tells me that you manually added Qt 5.2.1 to Qt Creator. Do you remember where you got this copy of Qt 5.2.1?
I installed Qt from here:
download.qt.io/official_releases/qtcreator/3.5/3.5.1/qt-creator-opensource-linux-x86_64-3.5.1.runLike @SGaist said, that's the Qt Creator IDE. I recommend you uninstall that, and install the Qt library instead: http://download.qt.io/official_releases/qt/5.5/5.5.1/ (this installer also includes Qt Creator)