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. Errors in using ApplicationWindow in Qt Quick Design
Forum Updated to NodeBB v4.3 + New Features

Errors in using ApplicationWindow in Qt Quick Design

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 3 Posters 123 Views 2 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.
  • B Offline
    B Offline
    Blackzero
    wrote last edited by
    #1

    I don't know why, but this always causes an error in Qt Quick Designer when I use ApplicationWindow. Is there a solution for this?

    Screenshot 2025-08-03 175008.png

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

      Hi,

      Are you sure you are using the tool your think you are using ?
      Your thread title mention Qt Quick Designer while the error mentions Qt Design Studio. These are not the same.

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

      B 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Are you sure you are using the tool your think you are using ?
        Your thread title mention Qt Quick Designer while the error mentions Qt Design Studio. These are not the same.

        B Offline
        B Offline
        Blackzero
        wrote last edited by
        #3

        @SGaist I use the QtQuick plugin in Qt Creator.

        1 Reply Last reply
        0
        • B Blackzero

          I don't know why, but this always causes an error in Qt Quick Designer when I use ApplicationWindow. Is there a solution for this?

          Screenshot 2025-08-03 175008.png

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote last edited by
          #4

          @Blackzero said in Errors in using ApplicationWindow in Qt Quick Design:

          Is there a solution for this?

          1. Always use Item (or something that inherits Item) as the root type in a *.ui.qml file.
          2. Put your ApplicationWindow in a *.qml file and don't use the Designer to edit it.

          @SGaist said in Errors in using ApplicationWindow in Qt Quick Design:

          Your thread title mention Qt Quick Designer while the error mentions Qt Design Studio. These are not the same.

          Behind the scenes, Qt Design Studio is actually a "re-skinned" copy of Qt Creator that brings the Qt Quick Designer to the forefront. That's supposed to be an implementation detail, but it leaks out in noticeable ways.

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

          B 1 Reply Last reply
          2
          • JKSHJ JKSH

            @Blackzero said in Errors in using ApplicationWindow in Qt Quick Design:

            Is there a solution for this?

            1. Always use Item (or something that inherits Item) as the root type in a *.ui.qml file.
            2. Put your ApplicationWindow in a *.qml file and don't use the Designer to edit it.

            @SGaist said in Errors in using ApplicationWindow in Qt Quick Design:

            Your thread title mention Qt Quick Designer while the error mentions Qt Design Studio. These are not the same.

            Behind the scenes, Qt Design Studio is actually a "re-skinned" copy of Qt Creator that brings the Qt Quick Designer to the forefront. That's supposed to be an implementation detail, but it leaks out in noticeable ways.

            B Offline
            B Offline
            Blackzero
            wrote last edited by
            #5

            @JKSH Yes, the application can still run. I hope that in the future, Qt Quick Plugin will support ApplicationWindow.

            JKSHJ 1 Reply Last reply
            0
            • B Blackzero

              @JKSH Yes, the application can still run. I hope that in the future, Qt Quick Plugin will support ApplicationWindow.

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote last edited by
              #6

              @Blackzero said in Errors in using ApplicationWindow in Qt Quick Design:

              @JKSH Yes, the application can still run. I hope that in the future, Qt Quick Plugin will support ApplicationWindow.

              There is an open change request for this. You can watch/vote for it: https://bugreports.qt.io/browse/QDS-10914

              I forgot: It should also work if you use Window instead of ApplicationWindow. But the latter is a lot more feature-rich.

              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