Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

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

    QML and Qt Quick
    13
    13
    1959
    Loading More Posts
    • 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
      usan last edited by

      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 Reply Quote 2
      • E
        escape last edited by escape

        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 Reply Quote 0
        • S
          SimonP last edited by

          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 Reply Quote 0
          • O
            Omar3 last edited by Omar3

            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 Reply Quote 0
            • Z
              Zebeqo last edited by

              Same issue.

              1 Reply Last reply Reply Quote 0
              • C
                caicx @usan last edited by

                Same issue

                1 Reply Last reply Reply Quote 0
                • Q
                  Qboi last edited by

                  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 Reply Quote 0
                  • G
                    giveM last edited by

                    Same issue

                    1 Reply Last reply Reply Quote 0
                    • Q
                      QtBeginner2022 last edited by

                      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 Reply Quote 0
                      • S
                        Service IT last edited by

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

                        M A A 3 Replies Last reply Reply Quote 3
                        • M
                          Muthe Rodriguez @Service IT last edited by

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

                          1 Reply Last reply Reply Quote 0
                          • A
                            Aritra Ranjan Chowdhury @Service IT last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • A
                              Azmuth @Service IT last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post