Qt creator 8.0.1 can't select any kit on Win10
-
I tried to make a hello world project for testing the installation but can't go next after this window:
I installed these components:
What could cause the problem? Thx for help :) -
@cookie1234 said in Qt creator 8.0.1 can't select any kit on Win10:
I can build it and run (the window appears) so I'm happy :) but the errors are strange
Possible fix?The errors occur because the
Ui::MainWindow
class is only generated during build-time.After you have built the project at least once, the errors will disappear (restart Qt Creator if they don't)
-
Hi @cookie1234, and welcome!
What happens when you select a different kit?
Anyway, please share a screenshot of "Edit" > "Preferences..." > "Kits" > "Kits"
-
The problem occure with different kit too.
So I guess I need to configure the Cmake Tool, how to do that? -
@cookie1234 said in Qt creator 8.0.1 can't select any kit on Win10:
So I guess I need to configure the Cmake Tool, how to do that?
CMake is not your main issue.
Your kits all look strange -- the Qt version numbers are missing. Notice also that your screenshot says "the kit has no valid Qt version".
What does "Edit" > "Preferences..." > "Kits" > "Qt Versions" look like?
-
well it looks kinda bad xd -
@cookie1234 said in Qt creator 8.0.1 can't select any kit on Win10:
well it looks kinda bad xd
Yeah, it does.
Click on the MinGW 64-bit one; do you see any clues?
-
it says unvalid qt version -
what should I do?
-
@cookie1234 said in Qt creator 8.0.1 can't select any kit on Win10:
what should I do?
Open the Windows Command Prompt and run
C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -query
What do you see?
-
I reinstalled the Qt and now it works however I still see error messages:
I can build it and run (the window appears) so I'm happy :) but the errors are strange
Possible fix? -
@cookie1234 said in Qt creator 8.0.1 can't select any kit on Win10:
I can build it and run (the window appears) so I'm happy :) but the errors are strange
Possible fix?The errors occur because the
Ui::MainWindow
class is only generated during build-time.After you have built the project at least once, the errors will disappear (restart Qt Creator if they don't)
-
It's ok now thank you very much for your help! :)