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

When a QML based plugin is built statically and linked into an application which is using QML_ELEMENT or QML_NAMED_ELEMENT then it will not register the type and therefore it does not start correctly

    XMLWordPrintable

    Details

      Description

      When a QML based plugin is built statically and linked into an application which is using QML_ELEMENT or QML_NAMED_ELEMENT then it will not register the type and therefore it does not start correctly. With the example attached it will fail with:

      qrc:/main.qml:13:3: Time is not a type
      

      whereas it is fine when used dynamically

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes