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? -
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" -
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1"@Service-IT Great !!! Thank you !!
-
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1"@Service-IT
No In that case Menubar feature is not work -
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1"