Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Error => line:0 the the design mode requires a valid Qt kit.(PySide6)
Forum Updated to NodeBB v4.3 + New Features

Error => line:0 the the design mode requires a valid Qt kit.(PySide6)

Scheduled Pinned Locked Moved Solved Qt for Python
27 Posts 9 Posters 11.6k Views 1 Watching
  • 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.
  • SGaistS SGaist

    The message looks like related to your emscripten kit. Are you going to develop for it ?

    A Offline
    A Offline
    Abdullah.S
    wrote on last edited by
    #14

    @SGaist said in Error => line:0 the the design mode requires a valid Qt kit.(PySide6):

    Are you going to develop for it

    I couldn't understand,I really do not know what emscripten kit is. Should I delete something or install something ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #15

      This is the webassembly kit.

      If you don't know what I am talking about, I would recommend that your remove all Qt versions that you are not going to develop with.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • SGaistS SGaist

        This is the webassembly kit.

        If you don't know what I am talking about, I would recommend that your remove all Qt versions that you are not going to develop with.

        A Offline
        A Offline
        Abdullah.S
        wrote on last edited by
        #16

        @SGaist I removed them but it still gives me the error
        Screen Shot 2022-03-03 at 14.17.45.png
        Screen Shot 2022-03-03 at 14.18.00.png

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #17

          What do you have now in the Python part ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          A 1 Reply Last reply
          0
          • SGaistS SGaist

            What do you have now in the Python part ?

            A Offline
            A Offline
            Abdullah.S
            wrote on last edited by
            #18

            @SGaist Screen Shot 2022-03-04 at 08.22.13.png

            if you are talking about this, this is the same as before

            1 Reply Last reply
            0
            • A Offline
              A Offline
              Abdullah.S
              wrote on last edited by
              #19

              guys I solved the problem. The problem was actually very simple. only you need to check the kits if their qt version is right or not. For example I use Desktop (x86-darwin-generic-mach_o-64bit) kit for my Qt Quick and when I scroll down the kits page there is qt version for the kit you selected, there are some options; "none", "Qt 6.2.3 for macOS", "Qt 6.2.2 (6.2.2)...." and you should choose the right one. thanks for all your help.

              J 1 Reply Last reply
              1
              • L Offline
                L Offline
                louis_CHEVALIER
                wrote on last edited by
                #20

                @Abdullah-S hello, I think I have the same issue but I don't know how to fix it

                jsulmJ 1 Reply Last reply
                0
                • L louis_CHEVALIER

                  @Abdullah-S hello, I think I have the same issue but I don't know how to fix it

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #21

                  @louis_CHEVALIER The OP wrote in his last post here how he fixed the issue - did you check that?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  L 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @louis_CHEVALIER The OP wrote in his last post here how he fixed the issue - did you check that?

                    L Offline
                    L Offline
                    louis_CHEVALIER
                    wrote on last edited by
                    #22

                    @jsulm hello, i saw the last post but i couldn't get it to work

                    jsulmJ 1 Reply Last reply
                    0
                    • L louis_CHEVALIER

                      @jsulm hello, i saw the last post but i couldn't get it to work

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #23

                      @louis_CHEVALIER Then provide more information about your issue and what you tried...

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • W Offline
                        W Offline
                        weekly
                        wrote on last edited by
                        #24

                        屏幕截图 2023-08-03 083937.png
                        Please help me analyze this problem

                        jsulmJ 1 Reply Last reply
                        0
                        • W weekly

                          屏幕截图 2023-08-03 083937.png
                          Please help me analyze this problem

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #25

                          @weekly What problem?

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • A Abdullah.S

                            guys I solved the problem. The problem was actually very simple. only you need to check the kits if their qt version is right or not. For example I use Desktop (x86-darwin-generic-mach_o-64bit) kit for my Qt Quick and when I scroll down the kits page there is qt version for the kit you selected, there are some options; "none", "Qt 6.2.3 for macOS", "Qt 6.2.2 (6.2.2)...." and you should choose the right one. thanks for all your help.

                            J Offline
                            J Offline
                            Jason_asj2023
                            wrote on last edited by
                            #26

                            @Abdullah-S
                            Thanks!
                            This solved my probem, and it's that simple!!!
                            I installed qt coorectly, and python、Pyside6, So the solution is just like Abdullah said:
                            GO to Preferences -> Kit-> Auto-detected Qt -> scroll down-> Qt version->select the version.

                            Thanks again!

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              sinpool
                              wrote on last edited by sinpool
                              #27

                              hi, I'm experiencing the same problem but the solution mentioned here is not available for me, the qt version option is disabled for me, at first I didn't have qt5.15 and it was just qt6.7 but then I installed qt5.15 and it still shows the same error and it doesn't allow me to change that qt version option, here kits options:

                              image.png

                              Qt Creator 14.0.1
                              Qt6.7 and 5.15
                              python 3.10.11
                              windows 11

                              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