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

initializeEngine not called on iOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.14.2
    • Quick: Other
    • None
    • iOS/tvOS/watchOS

      I have a custom 'QQmlExtensionPlugin' which encapsulates, amon others, a custom ImageProvider.

      I overrided the methods 'registerTypes' and 'initializeEngine' to register my custom types (the ImageProvider needs to be registered in the QmlEngine, thus i register it through the method 'initializeEngine'.

      The application is developed to work on iOS and Windows. On Windows, both methods 'registerTypes' and 'initializeEngine' are called. But on iOS only 'registerTypes' is called.
      (on iOS the plugin is correctly register through Q_IMPORT_PLUGIN).

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jd__ Jérôme Desfieux
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes