Unsolved Design Studio Error : This type (ApplicationWindow) is not supported as a root element by Qt Quick Designer. (M208)
-
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? -
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.
-
Same issue here, with Qt 6.2.2 on Windows 10 (Qt Creator 6.0.1 and Qt Design Studio 2.3.1).
-
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.
-
Same issue.
-
Same issue
-
Same here, only thing working is using older versions of QT creator. But what if I want to use newer versions?
-
Same issue
-
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. -
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1" -
@Service-IT Great !!! Thank you !!
-
@Service-IT
No In that case Menubar feature is not work -
This post is deleted!