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

QQmlExtensionPlugin::initializeEngine() called for the first QQmlEngine instance only

    XMLWordPrintable

Details

    Description

      The initializeEngine() function of an extension plugin is called only once, for the engine that first creates a component that imports the extension. If a component later imports the same extension in another engine, the function will not be called.

      It is OK for the registerTypes() function to be called only once, but initializeEngine() should be called on each engine instance that imports the extension.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            topiolli Topi Mäenpää
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes