PDA

View Full Version : QMYSQL driver



pcaeiro
31st August 2009, 12:44
Hello,

i have installed qt4 on ubuntu with "apt-get install <libraries>" and now i need the driver to connect to mysql.
How can i get it, do i need to uninstall qt and reinstall it from source files to be able to build the driver?


Paulo

Lykurg
31st August 2009, 12:49
simple install
sudo apt-get install libqt4-sql-mysql.

That's all.

pcaeiro
3rd September 2009, 15:35
Hi,

Sorry for the delay on the answer...

Your suggestion works ok, and i have solved my problem although the installation package for the dependent lib mysql-common returns an error and must be removed...:confused:

thanks once more for your help

Paulo