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. Design Studio Error : This type (ApplicationWindow) is not supported as a root element by Qt Quick Designer. (M208)
Forum Updated to NodeBB v4.3 + New Features

Design Studio Error : This type (ApplicationWindow) is not supported as a root element by Qt Quick Designer. (M208)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
13 Posts 13 Posters 5.5k Views 3 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.
  • U Offline
    U Offline
    usan
    wrote on last edited by
    #1

    I want to design ApplicationWindow using Design Studio.

    But the error, "This type (ApplicationWindow) is not supported as a root element by Qt Quick Designer. (M208)", occurred

    What should I do?
    Or, I just want to use footer, header, menubar so is there any way with Window Class?

    C 1 Reply Last reply
    3
    • E Offline
      E Offline
      escape
      wrote on last edited by escape
      #2

      I'm also having a lot of issues, including this, with both the Design Studio and Creator working on QML, especially with Python projects. It says the Qt version is not supported, etc but everything is installed with the newest versions.

      https://forum.qt.io/topic/132978/design-mode-requires-a-valid-qt-kit-but-installed-and-are-able-to-run

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

        Same issue here, with Qt 6.2.2 on Windows 10 (Qt Creator 6.0.1 and Qt Design Studio 2.3.1).

        1 Reply Last reply
        0
        • O Offline
          O Offline
          Omar3
          wrote on last edited by Omar3
          #4

          Going through the same issue. I'm circumventing it for now by creating a separate QML (View01.qml) file and importing that file into the ApplicationWindow file (Window.qml). I am able to edit View01.qml in Design studio. But Python calls Window.qml.

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zebeqo
            wrote on last edited by
            #5

            Same issue.

            1 Reply Last reply
            0
            • U usan

              I want to design ApplicationWindow using Design Studio.

              But the error, "This type (ApplicationWindow) is not supported as a root element by Qt Quick Designer. (M208)", occurred

              What should I do?
              Or, I just want to use footer, header, menubar so is there any way with Window Class?

              C Offline
              C Offline
              caicx
              wrote on last edited by
              #6

              Same issue

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                Qboi
                wrote on last edited by
                #7

                Same here, only thing working is using older versions of QT creator. But what if I want to use newer versions?

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #8

                  Same issue

                  1 Reply Last reply
                  0
                  • Q Offline
                    Q Offline
                    QtBeginner2022
                    wrote on last edited by
                    #9

                    might be understood...
                    The 'ApplicationWindow', as you can see under https://doc.qt.io/qt-6/qml-qtquick-controls2-applicationwindow.html: Detailed Description is (noadays and consequently) a relict of the times of classical design with 'Menu', 'Header', 'Content' and 'Footer'. It seems to be that in the new world such a strickt design of a program, a application, in the times of button driven 'apps' it is not anymore a part of the Qt Quick Designer, means not of any future creation or design tool Qt offers.
                    I learned tonight quite quick to pass by this decission made by Qt.
                    So my suggestion: forget about 'ApplicationWindow'. Arrange yourself with 'window' and the news syntax... --- it is very simple.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Service IT
                      wrote on last edited by
                      #10

                      Change "ApplicationWindow" To "Window"
                      and add "import QtQuick.Window 2.1"

                      M A A 3 Replies Last reply
                      3
                      • S Service IT

                        Change "ApplicationWindow" To "Window"
                        and add "import QtQuick.Window 2.1"

                        M Offline
                        M Offline
                        Muthe Rodriguez
                        wrote on last edited by
                        #11

                        @Service-IT Great !!! Thank you !!

                        1 Reply Last reply
                        0
                        • S Service IT

                          Change "ApplicationWindow" To "Window"
                          and add "import QtQuick.Window 2.1"

                          A Offline
                          A Offline
                          Aritra Ranjan Chowdhury
                          wrote on last edited by
                          #12

                          @Service-IT
                          No In that case Menubar feature is not work

                          1 Reply Last reply
                          0
                          • S Service IT

                            Change "ApplicationWindow" To "Window"
                            and add "import QtQuick.Window 2.1"

                            A Offline
                            A Offline
                            Azmuth
                            wrote on last edited by
                            #13
                            This post is deleted!
                            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