Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-110112

Runtime qml won't load certain root elements

    XMLWordPrintable

Details

    • All
    • 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

          Activity

            People

              ulherman Ulf Hermann
              bweimer Bernd Weimer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: