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. [SOLVED] Qt Creator - QML-Design

[SOLVED] Qt Creator - QML-Design

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 2.2k 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.
  • S Offline
    S Offline
    S0urc3C0de
    wrote on last edited by
    #1

    Hello guys,

    I want to use Qt Creator's QML-Designer, but it doesn't show me anything!
    There's just an empty view with nothing in there. However I can still see a little thumbnail when I look in the states section above...

    I've built Qt und the Qt Creator myself from the Git-Repositories.
    You can see the detailed versions in the screenshot below.

    Screenshot: http://i57.tinypic.com/15dl375.png
    If not available anymore: Qt Creator 3.1.81 (MSVC 2013, x64) and Qt 5.3.1 (MSVC 2013, x64)

    Thanks for any help :)

    1 Reply Last reply
    0
    • T Offline
      T Offline
      ThomasHartmann
      wrote on last edited by
      #2

      This seems to be a bug in the code model, since you cannot see/select the root item.

      My wild guess is that this is related to https://bugreports.qt-project.org/browse/QTBUG-38663.

      Can you change the type of the root item it Item?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        S0urc3C0de
        wrote on last edited by
        #3

        Jep that's it.
        It seems like at the moment, it's not possible to design an ApplicationWindow-QML file without temporarily changing it to something Qt Creator can handle.

        Thank you very much :)

        1 Reply Last reply
        0
        • T Offline
          T Offline
          ThomasHartmann
          wrote on last edited by
          #4

          Actually you can patch the plugins.qmltypes file in Qt to get the code model working. See the patch in the bug report for details.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            S0urc3C0de
            wrote on last edited by
            #5

            Oh yeah thanks didn't see it, thanks :)

            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