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.
-
Having the same issue with Qt Creator 5.0.1, Qt 6.1.3 MinGW 64-bit on Windows 10 64bit.
All items in the Navigator panel have a warning sign next to them, are underlined in red and their tooltip says 'Item could not be created'.
Running the application works like a charm, but the preview in the Form Editor doesn't work. -
@sbentzien same configuration and the same issue here
-
Is anyone aware of how to escalate this with the QTCreator Dev/Support team? This seems like a painfully long time to have an issue like this, which is a software block, and not have been follow-up on by someone.
-
@John-Cordell Was this reported as bug in Qt bug tracker?
-
Me too, 5.15 fine, 6.1.3 gets red squiggles under "window" in design view.
-
This work for me! QT 6.2.0
- Go to Tools > Options > QT Quick
- Inside QT QUICK DESIGNER TAB check the second options and copy/paste same path of first in secont
- Restart your QT and wait for build
OBS: Autocomplete dont work when import something like quick controls, so import without version or put 6.0
Enjoy!
-
@Nathan-Miguel I had tried this before with the 6.2 beta, and it didn't work, but now with "Top level build path" of the QML emulation layer set to "<Path To Qt>Qt/6.2.0/macOS/bin" worked for me, finally.
-
@Nathan-Miguel Working on the new 6.2 LTS with Creator 5.0. You are a champion thank you so much for the help.
-
@Nathan-Miguel Unfortunately that didn't help me as that seems to work only for desktop projects :|
For Android Kits I'm getting this error when trying your solution:
-
@Tahmis I think this should help
in steep 2 instead use this path try "<Path To Qt>/6.2.0/Kit android"
and try to see in MaintenanceTool if you don't have any pending updates and if you linked the android sdk in the QT options
-
@Nathan-Miguel No luck unfortunately.
Tried this now as you suggested and still getting the same error of which I pasted a screenshot earlier:
My QT installation is totally fresh and everything is updated and android sdk is linked in the options. I believe your workaround doesn't work for mobile kits :|
-
@Nathan-Miguel I think I tried that also earlier but tried again without success..
Thanks anyway!
Maybe Windows 11 upgrade surprisingly fixes something and it starts to work :D
-
@Nathan-Miguel thanks works for me!
-
it is so sad! when solve?
-
i have some tests ,although the icon is uncorrect,but the function/logic is ok.it looks like....only the icon is wrong .
test envoriment.....macbook Big sur,Qt creator 5.0 ,Qt6.2. the latest version.... -
@Nathan-Miguel Thanks. It works
-
@Tahmis @hello_JiNan QT Creator 6.0 should fix those issues, because qt creator 5 dont have pre-builded binaries for qt 6.