Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
6.0.0
Description
Found when testing pure-qml example in Qt Wayland. The example has a local type called "Screen" and instantiates this in main.qml. In Qt 5, this worked fine, but in Qt 6, it now gives the error
qrc:/qml/main.qml:57:5: Screen can only be used via the attached property.
Changing the name to "CompositorScreen" fixes the issue, so it is probably resolving to the built-in type instead of the local type.
Attachments
Issue Links
- is required for
-
QTBUG-78673 QtWayland (client and compositor) on QRhi + OpenGL
- Closed