Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. ITEM COULD NOT BE CREATED
Forum Updated to NodeBB v4.3 + New Features

ITEM COULD NOT BE CREATED

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
41 Posts 23 Posters 10.2k Views 11 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.
  • M Offline
    M Offline
    Martin-Barrett
    wrote on last edited by
    #26

    Me too, 5.15 fine, 6.1.3 gets red squiggles under "window" in design view.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nathan Miguel
      wrote on last edited by Nathan Miguel
      #27

      This work for me! QT 6.2.0

      1. Go to Tools > Options > QT Quick

      7c92cde5-6594-42d7-acba-f3e136da75f3-image.png

      70a53e49-d6a7-45db-bd85-b50266c338b5-image.png

      1. Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont

      Screenshot 2021-09-30 201144.png

      1. Restart your QT and wait for build

      OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0

      76fc5af4-8133-4966-b7cc-c1c1d5b22515-image.png

      4f2cd703-0ef8-4e44-9c00-ce49c3784ef8-image.png

      Enjoy!

      A C T D Y 6 Replies Last reply
      5
      • N Nathan Miguel

        This work for me! QT 6.2.0

        1. Go to Tools > Options > QT Quick

        7c92cde5-6594-42d7-acba-f3e136da75f3-image.png

        70a53e49-d6a7-45db-bd85-b50266c338b5-image.png

        1. Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont

        Screenshot 2021-09-30 201144.png

        1. Restart your QT and wait for build

        OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0

        76fc5af4-8133-4966-b7cc-c1c1d5b22515-image.png

        4f2cd703-0ef8-4e44-9c00-ce49c3784ef8-image.png

        Enjoy!

        A Offline
        A Offline
        arewethereyet
        wrote on last edited by
        #28

        @Nathan-Miguel I had tried this before with the 6.2 beta, and it didn't work, but now with "Top level build path" of the QML emulation layer set to "<Path To Qt>Qt/6.2.0/macOS/bin" worked for me, finally.

        1 Reply Last reply
        0
        • N Nathan Miguel

          This work for me! QT 6.2.0

          1. Go to Tools > Options > QT Quick

          7c92cde5-6594-42d7-acba-f3e136da75f3-image.png

          70a53e49-d6a7-45db-bd85-b50266c338b5-image.png

          1. Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont

          Screenshot 2021-09-30 201144.png

          1. Restart your QT and wait for build

          OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0

          76fc5af4-8133-4966-b7cc-c1c1d5b22515-image.png

          4f2cd703-0ef8-4e44-9c00-ce49c3784ef8-image.png

          Enjoy!

          C Offline
          C Offline
          c0ntrarian
          wrote on last edited by
          #29

          @Nathan-Miguel Working on the new 6.2 LTS with Creator 5.0. You are a champion thank you so much for the help.

          1 Reply Last reply
          0
          • N Nathan Miguel

            This work for me! QT 6.2.0

            1. Go to Tools > Options > QT Quick

            7c92cde5-6594-42d7-acba-f3e136da75f3-image.png

            70a53e49-d6a7-45db-bd85-b50266c338b5-image.png

            1. Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont

            Screenshot 2021-09-30 201144.png

            1. Restart your QT and wait for build

            OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0

            76fc5af4-8133-4966-b7cc-c1c1d5b22515-image.png

            4f2cd703-0ef8-4e44-9c00-ce49c3784ef8-image.png

            Enjoy!

            T Offline
            T Offline
            Tahmis
            wrote on last edited by Tahmis
            #30

            @Nathan-Miguel Unfortunately that didn't help me as that seems to work only for desktop projects :|

            For Android Kits I'm getting this error when trying your solution:
            c95517a9-ab13-4e7d-8d2c-8c5a5dc0d5da-image.png

            N 1 Reply Last reply
            0
            • T Tahmis

              @Nathan-Miguel Unfortunately that didn't help me as that seems to work only for desktop projects :|

              For Android Kits I'm getting this error when trying your solution:
              c95517a9-ab13-4e7d-8d2c-8c5a5dc0d5da-image.png

              N Offline
              N Offline
              Nathan Miguel
              wrote on last edited by Nathan Miguel
              #31

              @Tahmis I think this should help

              ead2c535-8e92-4f8f-82c9-55658ee74895-image.png

              in steep 2 instead use this path try "<Path To Qt>/6.2.0/Kit android"

              7a581dbf-91b0-4d52-9c45-1ca1f7102794-image.png

              and try to see in MaintenanceTool if you don't have any pending updates and if you linked the android sdk in the QT options

              T 1 Reply Last reply
              0
              • N Nathan Miguel

                @Tahmis I think this should help

                ead2c535-8e92-4f8f-82c9-55658ee74895-image.png

                in steep 2 instead use this path try "<Path To Qt>/6.2.0/Kit android"

                7a581dbf-91b0-4d52-9c45-1ca1f7102794-image.png

                and try to see in MaintenanceTool if you don't have any pending updates and if you linked the android sdk in the QT options

                T Offline
                T Offline
                Tahmis
                wrote on last edited by
                #32

                @Nathan-Miguel No luck unfortunately.

                Tried this now as you suggested and still getting the same error of which I pasted a screenshot earlier:
                c2e5e109-ba1f-4c53-8eee-0858b80af02d-image.png

                My QT installation is totally fresh and everything is updated and android sdk is linked in the options. I believe your workaround doesn't work for mobile kits :|

                N 1 Reply Last reply
                0
                • T Tahmis

                  @Nathan-Miguel No luck unfortunately.

                  Tried this now as you suggested and still getting the same error of which I pasted a screenshot earlier:
                  c2e5e109-ba1f-4c53-8eee-0858b80af02d-image.png

                  My QT installation is totally fresh and everything is updated and android sdk is linked in the options. I believe your workaround doesn't work for mobile kits :|

                  N Offline
                  N Offline
                  Nathan Miguel
                  wrote on last edited by
                  #33

                  @Tahmis you forgot to put the kit into path

                  C:\Qt\6.2.0\android_arm64_v8a

                  T 1 Reply Last reply
                  0
                  • N Nathan Miguel

                    @Tahmis you forgot to put the kit into path

                    C:\Qt\6.2.0\android_arm64_v8a

                    T Offline
                    T Offline
                    Tahmis
                    wrote on last edited by
                    #34

                    @Nathan-Miguel I think I tried that also earlier but tried again without success..

                    c4715cc4-6de0-49a3-aa50-baf7b8b98d65-image.png

                    Thanks anyway!

                    Maybe Windows 11 upgrade surprisingly fixes something and it starts to work :D

                    N 1 Reply Last reply
                    0
                    • N Nathan Miguel

                      This work for me! QT 6.2.0

                      1. Go to Tools > Options > QT Quick

                      7c92cde5-6594-42d7-acba-f3e136da75f3-image.png

                      70a53e49-d6a7-45db-bd85-b50266c338b5-image.png

                      1. Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont

                      Screenshot 2021-09-30 201144.png

                      1. Restart your QT and wait for build

                      OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0

                      76fc5af4-8133-4966-b7cc-c1c1d5b22515-image.png

                      4f2cd703-0ef8-4e44-9c00-ce49c3784ef8-image.png

                      Enjoy!

                      D Offline
                      D Offline
                      DanielObata
                      wrote on last edited by
                      #35

                      @Nathan-Miguel thanks works for me!

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hello_JiNan
                        wrote on last edited by
                        #36

                        it is so sad! when solve?

                        1 Reply Last reply
                        0
                        • H Offline
                          H Offline
                          hello_JiNan
                          wrote on last edited by
                          #37

                          i have some tests ,although the icon is uncorrect,but the function/logic is ok.it looks like....only the icon is wrong .
                          test envoriment.....macbook Big sur,Qt creator 5.0 ,Qt6.2. the latest version....

                          1 Reply Last reply
                          0
                          • N Nathan Miguel

                            This work for me! QT 6.2.0

                            1. Go to Tools > Options > QT Quick

                            7c92cde5-6594-42d7-acba-f3e136da75f3-image.png

                            70a53e49-d6a7-45db-bd85-b50266c338b5-image.png

                            1. Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont

                            Screenshot 2021-09-30 201144.png

                            1. Restart your QT and wait for build

                            OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0

                            76fc5af4-8133-4966-b7cc-c1c1d5b22515-image.png

                            4f2cd703-0ef8-4e44-9c00-ce49c3784ef8-image.png

                            Enjoy!

                            Y Offline
                            Y Offline
                            Yuriyy
                            wrote on last edited by Yuriyy
                            #38

                            @Nathan-Miguel Thanks. It works

                            1 Reply Last reply
                            0
                            • T Tahmis

                              @Nathan-Miguel I think I tried that also earlier but tried again without success..

                              c4715cc4-6de0-49a3-aa50-baf7b8b98d65-image.png

                              Thanks anyway!

                              Maybe Windows 11 upgrade surprisingly fixes something and it starts to work :D

                              N Offline
                              N Offline
                              Nathan Miguel
                              wrote on last edited by
                              #39

                              @Tahmis @hello_JiNan QT Creator 6.0 should fix those issues, because qt creator 5 dont have pre-builded binaries for qt 6.

                              1 Reply Last reply
                              0
                              • N Nathan Miguel

                                This work for me! QT 6.2.0

                                1. Go to Tools > Options > QT Quick

                                7c92cde5-6594-42d7-acba-f3e136da75f3-image.png

                                70a53e49-d6a7-45db-bd85-b50266c338b5-image.png

                                1. Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont

                                Screenshot 2021-09-30 201144.png

                                1. Restart your QT and wait for build

                                OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0

                                76fc5af4-8133-4966-b7cc-c1c1d5b22515-image.png

                                4f2cd703-0ef8-4e44-9c00-ce49c3784ef8-image.png

                                Enjoy!

                                T Offline
                                T Offline
                                toygar
                                wrote on last edited by
                                #40

                                @Nathan-Miguel thanks a lot, it works

                                1 Reply Last reply
                                0
                                • C Offline
                                  C Offline
                                  Cheesewurst
                                  wrote on last edited by
                                  #41

                                  I solved it via another way (Windows 11 & Ubuntu 22.04 LTS) on Qt Creator 13 Beta. Only changing the path didn't work for me, however by creating a Kit (Menu bar-> Edit->Preferences->Kits->Add) and selecting this kit when creating a new project, everything seemed to work perfectly.

                                  Make sure to select the right version of Qt and Python.

                                  6d20089f-7da1-4f57-95a2-4c9e4d782354-image.png

                                  This way Qt makes use of the (in this case) Qt MinGW kit when you use the "Design" tab in Qt Creator.

                                  Hopefully does this help for the ones still having this issue!

                                  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