Kits all grayed out when creating new Qt Quick project on 14.0.0
-
Check the Kits for warnings and errors.
Also, did you install QtQuick/QNL packages? -
Just make sure you have Qt, CMake and Ninja installed from the Qt SDK installer.
-
@jsulm I have all the packages under the 'qt6' package group installed, I don't see anything other than that available for QtQuick or QML (I assume that's what you meant by "QNL", but I checked that as well)
@cristian-adam I'm not seeing an option for a "Qt SDK installer", but I have all of those as system packages already.
-
You'll have to go to the Kits page and see if anything is marked with an exclamation mark.
-
You'll have to go to the Kits page and see if anything is marked with an exclamation mark.
@cristian-adam I went to the kits section in the settings menu, nothing anywhere in the Desktop kit had an exclamation point.
-
If I look at the source code I can see the following:
bool Kit::isValid() const { if (!d->m_id.isValid()) return false; if (!d->m_hasValidityInfo) validate(); return !d->m_hasError; }If the Kit has everything there, compilers, Qt versions, debugger. It might be that its Id is invalid.
Please attach a screenshot of the Kits page.
Lastly, you could try cloning the Desktop kit, so that you would get a valid ID...
-
-
If I look at the source code I can see the following:
bool Kit::isValid() const { if (!d->m_id.isValid()) return false; if (!d->m_hasValidityInfo) validate(); return !d->m_hasError; }If the Kit has everything there, compilers, Qt versions, debugger. It might be that its Id is invalid.
Please attach a screenshot of the Kits page.
Lastly, you could try cloning the Desktop kit, so that you would get a valid ID...
@cristian-adam Kits page:

Cloning didn't fix it.
At this point, I'm might try my luck with Qt Widgets and see how that goes. The kits do show up as available when I try to make a project with it, not sure if that's worth noting or relevant to the issue with creating a project on Qt Quick.
-
I think the issue is using Qt 5.15.14. The Qt Quick wizard in Qt Creator needs Qt6 for Qt Quick.
You might also want to install
ninja. -
I think the issue is using Qt 5.15.14. The Qt Quick wizard in Qt Creator needs Qt6 for Qt Quick.
You might also want to install
ninja.I think the issue is using Qt 5.15.14. The Qt Quick wizard in Qt Creator needs Qt6 for Qt Quick.
I didn't notice that. I tried selecting Qt6, but it isn't there, 5.15.14 is the only option. I can 100% guarantee enough to make Qt software function is installed though, everything that looks like it would be needed shows up in
pacman -Qand I'm typing this from a KDE Plasma 6 session./usr/include/qt6is also present, with headers in it.You might also want to install
ninja.I already have it installed and have for a while, the installed version is 1.12.1.
-
I think the issue is using Qt 5.15.14. The Qt Quick wizard in Qt Creator needs Qt6 for Qt Quick.
I didn't notice that. I tried selecting Qt6, but it isn't there, 5.15.14 is the only option. I can 100% guarantee enough to make Qt software function is installed though, everything that looks like it would be needed shows up in
pacman -Qand I'm typing this from a KDE Plasma 6 session./usr/include/qt6is also present, with headers in it.You might also want to install
ninja.I already have it installed and have for a while, the installed version is 1.12.1.
@zayd said in Kits all grayed out when creating new Qt Quick project on 14.0.0:
I didn't notice that. I tried selecting Qt6, but it isn't there, 5.15.14 is the only option. I can 100% guarantee enough to make Qt software function is installed though, everything that looks like it would be needed shows up in pacman -Q and I'm typing this from a KDE Plasma 6 session. /usr/include/qt6 is also present, with headers in it.
Please attach a screenshot of your Kits > Qt Versions.
Qt Creator needs to have access to
qmake,qmake6orqtpathsin order to mark a Qt version as found.You might need to add a manual Qt entry there.
@zayd said in Kits all grayed out when creating new Qt Quick project on 14.0.0:
I already have it installed and have for a while, the installed version is 1.12.1.
It should have picked Ninja as generator for CMake.
-
@zayd said in Kits all grayed out when creating new Qt Quick project on 14.0.0:
I didn't notice that. I tried selecting Qt6, but it isn't there, 5.15.14 is the only option. I can 100% guarantee enough to make Qt software function is installed though, everything that looks like it would be needed shows up in pacman -Q and I'm typing this from a KDE Plasma 6 session. /usr/include/qt6 is also present, with headers in it.
Please attach a screenshot of your Kits > Qt Versions.
Qt Creator needs to have access to
qmake,qmake6orqtpathsin order to mark a Qt version as found.You might need to add a manual Qt entry there.
@zayd said in Kits all grayed out when creating new Qt Quick project on 14.0.0:
I already have it installed and have for a while, the installed version is 1.12.1.
It should have picked Ninja as generator for CMake.
@cristian-adam

I just added/usr/bin/qmake6manually, it pops up now. I also was able to set the CMake generator to Ninja manually. After selecting Qt6 in the Qt version menu, I was able to get to the kit selection, where Desktop is no longer greyed out. However, when I get past that stage and fully create the project, it doesn't create any files. I tried setting it to generate the project in/home/main/this-is-a-testand nothing got created, same with/home/main/projects/test -
I guess you have Qt Creator from Arch. How does a Qt Creator from https://download.qt.io/official_releases/qtcreator/ fare?
I don't know if everything is in place in the Arch Qt Creator.
Usually the project wizard does not result in projects that don't have any files created.
Can you compile an external Qt Quick project with your setup? Something like https://github.com/mitchcurtis/slate ?
-
I guess you have Qt Creator from Arch. How does a Qt Creator from https://download.qt.io/official_releases/qtcreator/ fare?
I don't know if everything is in place in the Arch Qt Creator.
Usually the project wizard does not result in projects that don't have any files created.
Can you compile an external Qt Quick project with your setup? Something like https://github.com/mitchcurtis/slate ?
@cristian-adam Tried using the .run, still nothing. I suspect it's this page where trouble starts, as it isn't finding
gitfor some reason, while Qt Widgets projects do. Nothing other than "<None>" is available in the dropdown.
When I try to import the slate repo, it gives errors.

-
@cristian-adam Tried using the .run, still nothing. I suspect it's this page where trouble starts, as it isn't finding
gitfor some reason, while Qt Widgets projects do. Nothing other than "<None>" is available in the dropdown.
When I try to import the slate repo, it gives errors.

@zayd Sorry for bumping, but realized when I get to this part with the screen that has the version control option and hit continue, this shows up in my terminal I'm running
qtcreatorfromSOFT ASSERT [16:08:47.946]: "!m_files.isEmpty()" in /usr/src/debug/qtcreator/qt-creator/src/plugins/projectexplorer/jsonwizard/jsonwizard.cpp:337This happens on
io.qt.QtCreatorfrom Flathub too.
