I\'m trying to access mysql using Qt5.1.1 but i am getting the error the error below. I also searched a lot on google but unable to fix it.Please suggest me a solution so
If you are Ubuntu linux OS, you can install library:
mic@ubt: ~$ apt-cache search libqt4-sql-mysql
libqt4-sql-mysql - Qt 4 MySQL database driver
mic@ubt: ~$ sudo apt-get install libqt4-sql-mysql
Well, for Qt5 you need install MySQL, using the next command on the terminal, you resolve the problem:
sudo apt-get install libqt5sql5-mysql