summaryrefslogtreecommitdiffstats
path: root/src/sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/sql')
-rw-r--r--src/sql/doc/src/sql-driver.qdoc2
-rw-r--r--src/sql/kernel/qsqldriverplugin.cpp2
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)