Qt Design Studio cannot find any valid kits
-
I am at a complete loss here, after an update to my Qt library, Design Studio has stopped working with no clear explanation as to why.
When I open by design studio project I see the pop up "The Design Mode requires a valid Qt Kit". Where there would normally be a butto nto run the project is instead a settings button, which takes me to this page
Underlined in red are drop downs with no options.
I have a bunch of different things in my Qt install, from trying to copy coworkers with working setups. Interestingly I have all the same modules as one coworker, who's design studio setup isn't broken in the same way as mine (it's missing some componenets, but can at least run the project well enough to get an error message).
I've scoured the internet but haven't dound anyone suffering the same issue.
Can anyone help?
Thank you.
-
@Joe-McGuchan said in Qt Design Studio cannot find any valid kits:
Where there would normally be a butto nto run the project is instead a settings button, which takes me to this page
Look at the left hand side of your screenshot.
"qt2.12" is very strange -- that's not supposed to be there.
Make "Desktop Qt 6.6.0" the active one instead. Are you able to run it now?
-
the idea of Qt Designstudio is that you do not need to add further Qt installations, it's a standalone working package. The 6.6.0 Qt which you see there is the bundled kit which is used for the qml runtime part.
Only add other kits or Qts to the Qt Designstudio settings if you really know what you do. (The Qt would need some preparation steps to make it fully working)You can delete your Qt Designstudio kit settings with deleting or renaming the folder %appdata%\Roaming\QtProject\qtdesignstudio
please make sure that there is no Qt Designstudio running while you do that.
-
@JKSH Unfortunately this does not appear to help. If I activate that kit I am still left with the same drop downs with no options.
@Tim-Jenssen I tried deleting that folder, but it didn't appear to work, either.
Thank you for your help, but I still seem lost here.
-
@Joe-McGuchan your screenshot looks fine, I guess because the Override device QML viewer is empty it adds the [unavailable] text to the combobox entry -> you can create a bugreport about that confusing text.
about the qt2.12 - could it be that you installed MCU ? I think there is some automatic setup happen if you enable it, but never tried it, so its just a guess from where it could come.
-
Alright, I've figured out the last step of the problem.
It seems since updating Design Studio, my project will not load in a live preview or allow the project to be ran. It doesn't produce any errors when doing this.
However, looking more carefully, it seems that is because there is a bug in my project in this new version. (if I comment out all my code in the root file and just draw a rectangle, then the project will load).
The "output" window isn't logging anything, all that happens is I click the preview button and nothing happens. I'd appreciate if anyone could tell me where I am meant to figure out what part of my project is broken. But this at least solves the last part of the problem and directs in the right direction.
-