From 56236342356548c12443afc05a2ea58e7e582849 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 30 Nov 2012 14:42:20 +0100 Subject: [PATCH] QtTools: Remove reference to deprecated Q_EXPORT_PLUGIN2 Change-Id: Ic553855393b23c8d1817e40bdff7bd219c395caf Reviewed-by: Friedemann Kleint --- examples/designer/doc/src/customwidgetplugin.qdoc | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/examples/designer/doc/src/customwidgetplugin.qdoc b/examples/designer/doc/src/customwidgetplugin.qdoc index 0e6ca3a..5176556 100644 --- a/examples/designer/doc/src/customwidgetplugin.qdoc +++ b/examples/designer/doc/src/customwidgetplugin.qdoc @@ -222,17 +222,4 @@ containing the custom widget class definition: \snippet designer/customwidgetplugin/customwidgetplugin.cpp 12 - - Finally, we use the Q_EXPORT_PLUGIN2() macro to export the \c - AnalogClockPlugin class for use with \QD: - - \snippet designer/customwidgetplugin/customwidgetplugin.cpp 13 - - This macro ensures that \QD can access and construct the custom widget. - Without this macro, there is no way for \QD to use the widget. - - It is important to note that you can only use the Q_EXPORT_PLUGIN2() - macro once in any implementation. If you have several custom widgets in - an implementation that you wish to make available to \QD, you will need - to implement \l{QDesignerCustomWidgetCollectionInterface}. */ -- 2.7.4