path: root/src/sql
diff options
authorLars Knoll <>2012-06-24 22:12:21 +0200
committerQt by Nokia <>2012-06-25 00:19:26 +0200
commitb2412843cb53e664248ee15b23c84333895414e3 (patch)
treef2d788e7f44dce6e4b7d5dc9568d5af93624e5b5 /src/sql
parent72cd356200b87921cef601b3ea8180cd024952bf (diff)
Fix docs mentioning Q_EXPORT_PLUGIN2
Fix all remaining places where Q_EXPORT_PLUGIN2 was being used in the documentation. Change-Id: I7be67b83c18545d0e74f250b4b26583444b01909 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/sql')
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/doc/src/sql-driver.qdoc b/src/sql/doc/src/sql-driver.qdoc
index 97e9adc5b8..2e6dc55b89 100644
--- a/src/sql/doc/src/sql-driver.qdoc
+++ b/src/sql/doc/src/sql-driver.qdoc
@@ -817,7 +817,7 @@
To implement a Qt SQL driver as a plugin (so that it is
recognized and loaded by the Qt library at runtime), the driver
- must use the Q_EXPORT_PLUGIN2() macro. Read \l{How to Create Qt
+ must use the Q_PLUGIN_METADATA() macro. Read \l{How to Create Qt
Plugins} for more information on this. You can also check out how
this is done in the SQL plugins that are provided with Qt in
\c{QTDIR/src/plugins/sqldrivers} and \c{QTDIR/src/sql/drivers}.
diff --git a/src/sql/kernel/qsqldriverplugin.cpp b/src/sql/kernel/qsqldriverplugin.cpp
index 34772222f9..71797eb69b 100644
--- a/src/sql/kernel/qsqldriverplugin.cpp
+++ b/src/sql/kernel/qsqldriverplugin.cpp
@@ -83,7 +83,7 @@ QT_BEGIN_NAMESPACE
Constructs a SQL driver plugin and sets the parent to \a parent.
- This is invoked automatically by the Q_EXPORT_PLUGIN2() macro.
+ This is invoked automatically by the moc generated code that exports the plugin.
QSqlDriverPlugin::QSqlDriverPlugin(QObject *parent)