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

Wrong explanation for Q_IMPORT_PLUGIN in plugandpaint example

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0 Beta
    • 5.4.2
    • Documentation
    • None
    • 037b05ac760a50630a009362011c12bcce11644d

      See page:
      http://doc.qt.io/qt-5.4/qtwidgets-tools-plugandpaint-example.html#importing-static-plugins
      It is written:
      "The argument to Q_IMPORT_PLUGIN() is the plugin's name, as specified with Q_PLUGIN_METADATA() in the plugin."
      It is wrong, the plugin's name is the name of the class where Q_PLUGIN_METADATA() is defined.

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

            veshivas Venugopal Shivashankar
            agroyer Anthony Groyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes