Design Studio Error : This type (ApplicationWindow) is not supported as a root element by Qt Quick Designer. (M208)
-
wrote on 27 Dec 2021, 05:58 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? -
wrote on 29 Dec 2021, 12:29 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.
-
wrote on 4 Jan 2022, 08:06 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).
-
wrote on 7 Jan 2022, 02:44 last edited by Omar3 1 Jul 2022, 02:49
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.
-
wrote on 9 Jan 2022, 08:10 last edited by
Same issue.
-
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?wrote on 29 Jan 2022, 07:58 last edited bySame issue
-
wrote on 8 Feb 2022, 13:17 last edited by
Same here, only thing working is using older versions of QT creator. But what if I want to use newer versions?
-
wrote on 14 Feb 2022, 22:25 last edited by
Same issue
-
wrote on 20 Feb 2022, 02:58 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. -
wrote on 24 Mar 2022, 01:09 last edited by
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1" -
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1"wrote on 23 Apr 2022, 07:02 last edited by@Service-IT Great !!! Thank you !!
-
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1"wrote on 23 Dec 2022, 14:04 last edited by@Service-IT
No In that case Menubar feature is not work -
Change "ApplicationWindow" To "Window"
and add "import QtQuick.Window 2.1"wrote on 28 Dec 2022, 07:06 last edited byThis post is deleted!