Hello friends for install these drivers make this intrucctions
1) Go to software center ubuntu search libqt4 for QT4 libqt5 for QT5 and install
-Qt 5 My SQL database driver
-Qt 5 My ODBC database driver
-Qt 5 My FREETDS database driver
-Qt 5 My POSTEGRESQL database driver
-Qt 5 My SQLITE database driver
-Qt 5 My SQLITE3 database driver
2)Go to Qt Creator>Tools>Options>Build and Run>Qt Versions
in autodetected click on your compiler look down and click on qt version 5/4 details
look you QT_INSTALL_PLUGINS and go to there.
3)In terminal execute sudo nautilus
4)Go to /usr/lib/i386-linux-gnu/qt5/plugins/sqldrivers [for 32bitubuntu] or /usr/lib/x86_64-linux-gnu/qt5/plugins/sqldrivers [for 64bitsubuntu]
5) copy all of .so files in sqldrivers and paste in you QT_INSTALL_PLUGINS/sqldrivers folder in my case /home/user/Qt/5.2.1/gcc_64/plugins/sqldrivers
in you .pro of you proyect file add “QT += sql” .
Thats is all sorry for my english and regards form Argentina
↧