Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2432

QmlSingleton has no "create" factory method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • Some future version
    • 6.5.2
    • PySide
    • None
    • 3b086f648 (dev), 02dfdfd61 (6.6), 42e851221 (6.5), 8b7f7fa1e (dev), 5038cead9 (dev), 4b2098931 (dev)

    Description

      The C++ implementation of `QML_SINGLETON` has a `create` factory method. QmlSingleton has none. The factory method would be useful to store the QML and JS instance reference for example.

      static MySingleton *create(QQmlEngine *qmlEngine, QJSEngine *jsEngine

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            machinekoder Alex Roessler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: