Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Line: 0: The Design Mode requires a valid Qt kit.
Forum Updated to NodeBB v4.3 + New Features

Line: 0: The Design Mode requires a valid Qt kit.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 3 Posters 614 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Iann29
    wrote on last edited by
    #1

    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.
    a13b5c08-5575-4cee-ba08-7239e52c9aa1-image.png

    JonBJ 1 Reply Last reply
    0
    • I Iann29

      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.
      a13b5c08-5575-4cee-ba08-7239e52c9aa1-image.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @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.

      I 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
      • JonBJ JonB

        @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.

        I Offline
        I Offline
        Iann29
        wrote on last edited by
        #3

        @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.

        faf03024-74bd-4244-94ed-dbf2a45c83c1-image.png

        I 1 Reply Last reply
        0
        • I Iann29

          @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.

          faf03024-74bd-4244-94ed-dbf2a45c83c1-image.png

          I Offline
          I Offline
          Iann29
          wrote on last edited by
          #4

          @Iann29 034cddb0-38bc-40d1-b2a7-025f85473341-image.png

          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...

          de729268-3fb3-4851-9679-e7478a32b7b4-image.png

          But if I try to build it directly from Qt Creator, I get this log, and it doesn't build

          d65ceed7-5911-476f-9aa8-fea2fb781c2b-image.png

          I used to be able to run it in VS Code, but now I can't anymore...

          1 Reply Last reply
          0
          • I Offline
            I Offline
            Iann29
            wrote on last edited by
            #5

            Help, please

            A 1 Reply Last reply
            0
            • I Iann29

              Help, please

              A Offline
              A Offline
              AbbasZahr
              wrote last edited by
              #6

              @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.

              c2a3280d-ca03-44c0-97f8-3005260b0b8f-image.png

              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.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved