I have different areas on my sources where I declare a database object with addDatabase. When I run my code I get the following error.
Qt Code:
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.To copy to clipboard, switch view to plain text mode
What is the best way of fixing this problem?
Thanks in advanced.
Bookmarks