Planned maintenance: From Sunday 8th December 10:00 CET there will be changes to try and solve the caching issues that have been experienced. If anyone has a problem connecting after this period then please PM @AndyS or any of the moderators.
How to create the plugin of MYSQL for Qt (linux)
chawila last edited by
If you are reading then it means u`re a linux user who what to connet your Qt project to mysql database.
The reason why i did these doc is because i spent my past weeks trying to figure out how these can be archived, and many people nerver had interest in helping me. exept for @mrjj and others who have tried.
so i installed mysql development packages with these commands:
sudo apt-get install mysql-client sudo apt-get install libmysqlclient-dev sudo apt-get install libqt5sql5-mysql sudo apt-get install libmysql++-dev
From there i ran a very special command that i dont know what i does, which is :
sudo apt-get install libmysqlcppconn-dev
then everything went very well, you dont need to download those Qt sources blah blah..
so i hope these will help you too.
Thanks for reading...
L.Gogs last edited by