Skip to content

Commit

Permalink
DOC: Remove obsolete references to Q_EXPORT_PLUGIN2 specific to Qt4
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Jul 19, 2023
1 parent 319f0ba commit 3023129
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 2 additions & 5 deletions Libs/PluginFramework/ctkPluginActivator.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,14 @@
* {
* Q_OBJECT
* Q_INTERFACES(ctkPluginActivator)
* Q_PLUGIN_METADATA(IID "org_commontk_myplugin")
*
* public:
* void start(ctkPluginContext* context);
* void stop(ctkPluginContext* context);
* };
* \endcode
* And in your implementation file:
* \code
* Q_EXPORT_PLUGIN2(mypluginlib, MyPlugin)
* \endcode
* where <code>mypluginlib</code> is the basename of your shared plugin library.
* where <code>myplugin</code> is the name of your plugin.
*
* <p>
* See the Qt Documentation about <a href="https://doc.qt.io/qt-5/plugins-howto.html">
Expand Down
2 changes: 0 additions & 2 deletions Libs/Widgets/ctkIconEnginePlugin_qt5.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ class ctkIconEnginePrivate;
/// QCoreApplication::addLibraryPath("MyApp-build/plugins");
/// \endcode
/// where the plugin must be located in "MyApp-build/plugins/iconengines"
/// don't forget to declare in the cpp file:
/// Q_EXPORT_PLUGIN2(yourpluginName, ctkIconEnginePlugin)
class CTK_WIDGETS_EXPORT ctkIconEnginePlugin
: public QIconEnginePlugin
{
Expand Down

0 comments on commit 3023129

Please sign in to comment.