Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.2
-
None
-
-
1e3bf94b2 (dev), 86fa3e117 (6.5)
Description
The qmlscene runtime has been deprecated in favor of the qml runtime. However, qml cannot load files with QtObject as root element. https://www.qt.io/blog/qml-runtime-features-part-1 suggests that qml should even be more suited for headless apps. A simple example is attached that runs with qmlscene but not with qml.
The same problem exists for instance with WaylandCompositor as the root element - this is how all the QtWayland examples are implemented (e.g. minimal-qml/main.qml runs with qmlscene but not with qml).
Maybe this can be solved with a configuration file? But then there's no proper documentation how to.
Attachments
Issue Links
- is required for
-
QTBUG-78949 qml runtime doesn't show window created as child of QtObject
- Closed
- relates to
-
QTBUG-96802 qml runtime custom config: PartialScene.container doesn't work well if it's not a full path
- Reported
- replaces
-
QTBUG-101479 qml tool fails to load scenes where root is not Window or Item
- Closed