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

qml_register_types_<Plugin> not called

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.9
    • Examples and Demos
    • None
    • ubuntu, firefox
    • WebAssembly
    • f42f940d993506948f609bd0dd857fad20110760

    Description

      Using the demo:

      https://git.qt.io/public-demos/outrun/-/tree/main/Outrun_Cluster?ref_type=heads

       

      it is not possible to import a statically compiled plugin. It is necessary to do:

       
      Q_IMPORT_QML_PLUGIN(QOutrunMqttPlugin)
       
      void
      qml_register_types_QtOutrun_Mqtt();
       
      int main(int argc, char *argv[])
      {
      qml_register_types_QtOutrun_Mqtt();
      ...
       

      Attachments

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

        Activity

          People

            evenandersen Even Oscar Andersen
            evenandersen Even Oscar Andersen
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d

                Gerrit Reviews

                  There are no open Gerrit changes