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

Decide what the QML Plugin Example should demonstrate

    XMLWordPrintable

Details

    • d88b52b54 (dev), 8f45b7c7e (6.5)

    Description

      The example is rather confused, because it mixes two things:

      • Actually creating a QQmlEngineExtensionPlugin
      • Creating a (loadable) QML module

      The first part is badly covered in the CMake example, as the example only registers a custom type,in which case we can automatically generate the plugin

      The second part is somewhat discouraged, however still a necessity while e.g. image providers are tied to plugins

      Lastly, we should also deduplicate the information found in https://doc.qt.io/qt-6/qqmlengineextensionplugin.html

      Attachments

        Issue Links

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

          Activity

            People

              qtqmlteam Qt Qml Team User
              fabiankosmale Fabian Kosmale
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes