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

Documentation about static plug-ins is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 RC
    • 5.0.0, 5.3.2
    • Documentation
    • None

    Description

      The documentation of the plug&paint plug-in is misleading :

      It says : "The argument to Q_IMPORT_PLUGIN() is the plugin's name, as specified with Q_PLUGIN_METADATA() in the plugin."

      But the argument to Q_IMPORT_PLUGIN should be the class name of the main class of the plug-in instead.

      Page : http://qt-project.org/doc/qt-5/qtwidgets-tools-plugandpaint-example.html#importing-static-plugins

      Attachments

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

        Activity

          People

            vertries Nico Vertriest (Inactive)
            jcelerier Jean-Michaƫl Celerier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes