qtcreator No Valid Kits Found
-
Greetings. New to qt.
I am trying to set up for qt development on my linux mint laptop. I have done so by installing debian packages. The main one needed seems to be qt-sdk.
When I try to create a project by means of qtcreator it complains that there are "No valid kits found." I don't know what that means. qtcreator suggests that I "add a kit in options" (I don't know how) or via the maintenance tool of the sdk". (What's the maintenance tool? How would I invoke it?)
By the way, I successfully built a simple qt app in emacs (then did qmake -project; qmake; make). This worked fine.
I have qtcreator successfully set up on my desktop, but frankly I have no idea what I did right. I stabbed around and installed qt debian packages at random and, by dumb luck, it worked.
Anyway - how do I set up "kits" for qtcreator? And what are they anyway?
Thanks.
-
The kits are usually selectable during installation. The maintenance utility is a separate application that is installed with the Qt Libraries. It is used to update/modify/uninstall Qt. I am not sure about where the installer puts its binaries on your platform, but by default on mine, it puts it at ~/Qt
-
@jakep said:
When I try to create a project by means of qtcreator it complains that there are "No valid kits found." I don't know what that means. qtcreator suggests that I "add a kit in options" (I don't know how) or via the maintenance tool of the sdk". (What's the maintenance tool? How would I invoke it?)
The Maintenance Tool is something like a "package manager" for Qt. You get it by downloading the Qt installer from http://www.qt.io/download-open-source/
Since you installed Qt via Debian packages, you have bypassed the Maintenance Tool.
Anyway - how do I set up "kits" for qtcreator? And what are they anyway?
A "kit" is a collection of that contains:
- 1 Compiler
- 1 version of the Qt libraries
See http://doc.qt.io/qtcreator/creator-targets.html for instructions on how to set up a kit.
Note: Qt Creator is the Integrated Development Environment (IDE), but the compiler and Qt libraries are not part of it. They need to be installed separately.