QT Kit and Code
-
Hello everyone!
I am working on a project which required the use of this thing called QT Framework. So I downloaded QT Creator and tried opening the project there. However, it requires certain kits and apparently "No suitable kits were found" in my computer. So I wanted to know how I can find the appropriate kit for my project and where I can find it (download from the Internet?)
Additionally, the project (which is in C++) includes some keywords which seem to be from a specific QT library or whatever (ex: QString, QFont) but the program doesn't seem to recognize them. Will installing the right kit fix this issue? If not, how can I find and install the right libraries?
Sorry if my questions are very basic, but I am just a beginner.
Thank you! :) -
@juve938383 said in QT Kit and Code:
but the two default ones don't seem to be suitable
Why? What Kits are those (what Qt version is used?)?
"I guess this should give some info on the version?" - to find out which Qt version is configured in a Kit go to the Kit and check which Qt version is configured there.
"Anything I can do to figure out what kit I need?" - yes, answer this question: "What platform do I target?". If you need desktop then install Qt for your target desktop platform (like Qt for Windows or Linux).
-
The kit manages your Qt version, a compiler and some other useful stuff.
What version of Qt do you have installed and how do you installed it? Online installer?!If everything is set up correctly, it should recognize basic Qt specific classes like
QString
. Some you have toinclude
before you can use them (like in basic C++). -
In the Help section I see a QT Creator Manual 5.0.3 and CMake 3.21.1 Documentation. I guess this should give some info on the version? I downloaded an installer and went through the steps it required to install the app (it had a dark green UI).
As for the kit, I think what I need is a desktop kit but the two default ones don't seem to be suitable. Anything I can do to figure out what kit I need? Maybe I can find something in the code?
Thank you for your response! -
@juve938383 said in QT Kit and Code:
but the two default ones don't seem to be suitable
Why? What Kits are those (what Qt version is used?)?
"I guess this should give some info on the version?" - to find out which Qt version is configured in a Kit go to the Kit and check which Qt version is configured there.
"Anything I can do to figure out what kit I need?" - yes, answer this question: "What platform do I target?". If you need desktop then install Qt for your target desktop platform (like Qt for Windows or Linux).
-
This post is deleted!