My debugger/compiler does not see Qt classes/modules.
I copied my Qt app from repository (whom is created in linux) but my IDE does not recognize QLabel class. I mean - linker includes it (in #include <QLabel>) but when I try to initialize variable/pointer as type QLabel, compiler gives me lots, strange looking, errors :/ However, when I change Kits from "Desktop Qt 5.8.0 MSV2015_64bit" to "Desktop Qt 5.7.1 MSV2015_64bit2" it works. Now, I don't know what kit should I use (I think it's supposed to use the newest version 5.8.0, not 5.7.2). Maybe the faulut is that, the project is created on linux? How to fix it?
Use the kit that works.
Should be just fine :)
What is the difference? Some kits are less strict than others, aren't they?
No its nothing like that.
A kit is a compiler/tools and Qt version
so you can have many kits installed :)
like qt3, qt4 and qt5.7 or 5.7 and 5.8
Well, if new Qt version releases, I won't be able to use features added in that version? Do you mean Qt 5.8.0 changed or deleted QLabel class, and that's why I have errors?
QLabel is not deleted :)
You kit is broken or messed up.
You can install/have as many kits as you like and as many different versions.
read the docs. explains it all :)
But can u tell me how to fix or reinstall my kit 5.8.0 to work correcly? I want to use the newest version :)
use the online installer.
let it install
I assume you have visual studio 2015 already installed ?
Ye, right :)
well remove all qt.
Install the 5.8 one.
Maybe the Qt plugin for visual studio.
It should just work.