[Qt-interest] connect mysql
pengliang(彭亮)
pengliang at founder.com
Wed Sep 14 08:32:20 CEST 2011
Hello
I don’t know why application always output that information. Anybody could tell me why.
--------------------------------- snippets
query.clear();
f5ErpDb.close();
f5ErpDb.removeDatabase("QODBC");
camMysqlDb = QSqlDatabase::addDatabase("QMYSQL");
------------------- application output
QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110914/bd571def/attachment.html
More information about the Qt-interest-old
mailing list