The whole Database thing isn't clear for me right now.
Whats the Difference between Drivers and Plugins in QT?
I know i need the Libs (.so) in my QT Plugin dir. Are there Any prebuilt QT DB drivers/plugins shipped with QT? Reading this http://qt-project.org/doc/qt-4.8/sql-driver.html I understand that i have to build them myself but also Installing official Drivers (MySQL Testet under Windows and Linux) and moving them to the QT Plugins Folder worked for me.
I wonder because i have "libsqlite.so" in my plugins dir without installing anything (at least i dont know)
For Qt SQL you can assume that DRIVERS == PLUGINS, (almost), since these plugins are statically or dinamically linked to database native drivers to access them.
Qt by default comes with SQLite support, that's why in Qt 4 or 5 you will find it in your plugins folder.
If you download Qt from http://qt.io website, it will come with some compiled sql drivers as Qt plugins.
If you're using Qt from your Linux distribution, some drivers may be already compiled or you will need to compile them by hand, so its your decision to stick with official qt.io or with your linux distribution.
Hope that helps,
redanium last edited by
check this Qt SQL drivers.