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

    • macOS

    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

            max.goldstein Maximilian Goldstein
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes