Line: 0: The Design Mode requires a valid Qt kit.
-
Can someone please help me resolve this error? I've tried everything—followed all the tutorials available on how to fix it in forums, etc., and even asked for help from ChatGPT, Claude, and every AI out there, but nothing worked. I can't solve this error at all, and I don't know what else to do. The problem is with the QML designer when trying to use Python in Qt Creator.
-
Can someone please help me resolve this error? I've tried everything—followed all the tutorials available on how to fix it in forums, etc., and even asked for help from ChatGPT, Claude, and every AI out there, but nothing worked. I can't solve this error at all, and I don't know what else to do. The problem is with the QML designer when trying to use Python in Qt Creator.
@Iann29
I don't use QML, but in Creator there is a Kits place (Settings? Projects? I forget) where you select which version of Qt (and what compiler toolchain) you want it to use. It needs this even to do just Designer stuff. Have you found that and set a Qt kit? I don't know if it's all the same if you are using Python rather than C++, but I think you need to start by looking at Kits. -
C Christian Ehrlicher moved this topic from General and Desktop on
-
@Iann29
I don't use QML, but in Creator there is a Kits place (Settings? Projects? I forget) where you select which version of Qt (and what compiler toolchain) you want it to use. It needs this even to do just Designer stuff. Have you found that and set a Qt kit? I don't know if it's all the same if you are using Python rather than C++, but I think you need to start by looking at Kits. -
@JonB Look, when I try to create a new project, it doesn’t allow me to select a kit... I don’t know how to fix this anymore.
The problem happened after I downloaded the Hot Preview and Felgo. I reinstalled everything as mentioned earlier, but I already had a project. Now, if I go to create a project and import all the folders, it allows me to select the kits. However, if I create a new project, it doesn't show the option to select the kits...
But if I try to build it directly from Qt Creator, I get this log, and it doesn't build
I used to be able to run it in VS Code, but now I can't anymore...
-
@Iann29 Hi, I know this is a little late and I was running into the same issue but this is what fixed to for me.
I went into the kit menu and I a kit for Desktp Qt 6.9.1 MinGW 64-bit (default) that had always come up as an unsupported/unavailable kit. However, all I had to do was clone it in the kit menu, see here.
Then when I created a new project with Qt Quick Application for Python with PySide6, it let me select not only the python kit but also my desktop one that allows the designer to work.