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. Possible Creator bug in QML designer?
Forum Update on Monday, May 27th 2025

Possible Creator bug in QML designer?

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 4 Posters 1.9k 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.
  • U Offline
    U Offline
    utcenter
    wrote on 11 Apr 2014, 15:56 last edited by
    #1

    I noticed that if there are custom components in user folders inside the qml folder, designer shows the components without any imports, but when you try to instantiate one - designer crashes.

    It works fine if you import "foldername" in main.qml. So maybe Creator should not show components from subfolders that are not imported?

    Can someone else confirm it?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      ThomasHartmann
      wrote on 19 Apr 2014, 09:07 last edited by
      #2

      Crashes should never happen. So this is a bug. Can you file a bug report?

      1 Reply Last reply
      0
      • U Offline
        U Offline
        utcenter
        wrote on 19 Apr 2014, 09:56 last edited by
        #3

        Wouldn't be the first one. I am just waiting for other users to confirm the bug is reproducible on their environments as well.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          strahlex
          wrote on 22 Apr 2014, 16:16 last edited by
          #4

          Create a sample project on Github describing the problem so other developers can try it easily.

          Feel free to check out my website machinekoder.com
          and my pet projects Intellicute and QtQuickVcp

          1 Reply Last reply
          0
          • U Offline
            U Offline
            utcenter
            wrote on 23 Apr 2014, 09:51 last edited by
            #5

            [quote author="strahlex" date="1398183377"]Create a sample project on Github describing the problem so other developers can try it easily.[/quote]

            Yeah, might as well do a video tutorial while I am at it... The conditions to reproduce the bug have already been stated in the OP, but still:

            @ - create a folder inside the qml folder of a QtQuick2 application

            • put a QML file in it
            • do not import it anywhere
            • try to use it from the icon QML designer creates for it
            • crash creator@

            If that is not clear and simple enough, I don't see how wasting time to create github accounts and upload files there will be any more clear.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              JKSH
              Moderators
              wrote on 27 Apr 2014, 10:10 last edited by
              #6

              I just tried it with the official version of Qt Creator 3.1.0 on Windows 8 x64, and created a Qt Quick 2.2 project.

              However, Qt Creator put the main.qml in the same folder as main.cpp, and added it to qml.qrc. There is no longer a "qml" subfolder.

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              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