ITEM COULD NOT BE CREATED
-
I am also facing this ,Did you solve this error
-
@lalemola
Hi
so you downgrade the Qt version from 6.0 to 5.15 ?
Or still using Qt6 ?The Creator version is not so important as It can use the newest and older Qt versions.
(also at same time)Im wondering if this is something with Qt6.
-
is there any solution for this issue ? even a clue where is the wrong part ?
I just installed qt 6.0.4 and XCode on macOS Big Sur and facing this issue.
i also installed latest qt 5.15 and no error on creating Window item. -
@nasir60 @nagaraj_4896 @lalemola @tukangketik @Tom4nt I never used Qt 6, but AFAIK in Qt 6 you do not have to specify the import version.
So if you QML looks like this:
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") }
Then remove the version information and I suppose it should than work as expected.
import QtQuick import QtQuick.Window Window { width: 640 height: 480 visible: true title: qsTr("Hello World") }
-
@KroMignon I am using Qt Creator 5.00! Still facing the same issue as @Tom4nt 4276713b-f528-438b-8987-7ddd07ebfe59-image.png
-
I am facing the same issue on both my PC and Mac when using the QtCreator 5.0.0 and Qt 6.1 or 6.2 beta kits with new/old QtQuick Projects. The issue is not present when I'm working with Qt 5.15.2. Adding or removing version numbers does not have an effect on the issue. My PC is i9-10850K and GTX970 running Windows 10, and my Mac is Macbook Air M1 base model. Everything else works, including build, running on real devices / simulators, etc.
-
@arewethereyet said in ITEM COULD NOT BE CREATED:
I am facing the same issue on both my PC and Mac when using the QtCreator 5.0.0 and Qt 6.1 or 6.2 beta kits with new/old QtQuick Projects. The issue is not present when I'm working with Qt 5.15.2. Adding or removing version numbers does not have an effect on the issue. My PC is i9-10850K and GTX970 running Windows 10, and my Mac is Macbook Air M1 base model. Everything else works, including build, running on real devices / simulators, etc.
I tested Qt 6.1.3 GCC kit on Zorin OS (based on Ubuntu 20.04.3 LTS) and the problem is present there as well. Is there any solution to this problem or what could be causing it? There's no Felgo hot reload for Qt 6 yet to my understanding, so I cannot use that to bypass design view issues when developing front-end either...
-
I'm also experiencing this issue using QtCreator 5.0.0 and QT version 6.1.3 on macOS Big Sur (11.5.2). When starting a new project with the base qml window code, I can run the project and the window will appear. Switching to the Design view, I am unable to see the form in the form editor, and in the Navigator pane, hovering over the "Window" component displays the message: "item could not be created."
-
Popping in to say that I am experiencing this issue when I create a new project in QT Creator with the Qt 6.0 minimal version selection.