Just debug if your application finds the right driver by using
qWarning() << QSqlDatabase::drivers();
To copy to clipboard, switch view to plain text mode
Normally it should look like:
- Folder with our exe
- plugins
- sqldrivers
- Folder with our exe
- plugins
- sqldrivers
To copy to clipboard, switch view to plain text mode
But one week ago I also had trouble with it (even using qt.conf). After removing "plugins" and only have a structure like
qWarning() << QSqlDatabase::drivers();
To copy to clipboard, switch view to plain text mode
Normally it should look like:
- Folder with our exe
- sqldrivers
- Folder with our exe
- sqldrivers
To copy to clipboard, switch view to plain text mode
it worked for me.
Bookmarks