QT version 4.8 to 5.7 QMySQl
-
Then run ldd on that plugin please.
-
So you mean the plugin wasn't built ?
-
I installed Qt via the tar.gz file so I build it by myself , is there any chances that the library is not build in the same time ?
In/usr/local/Qt-5.7.1/plugins/sqldrivers
I just havelibqsqlite.so
file so I assume that's where I need to have my MySQL files since I only have the sql detected by Qt. -
Do you have the MySQL dev package for ARM on your system ?
If not, then that's one of the reason why it wasn't built. If you have it, then it might not have been found.
In any case, you don't need to re-build all of Qt. Just build the plugin by hand like shown in the documentation.
-
I just installed Mysql to run it on my rasp , I tried to use some command to get the mysql packages but don't know if that works , do you have the command to get the dev package or the doc link please?
EDIT : sudo apt-get install mysql-client libmysqlclient-dev I tried this command line but it looks that I already have the packages.
-
I just installed Mysql to run it on my rasp , I tried to use some command to get the mysql packages but don't know if that works , do you have the command to get the dev package or the doc link please?
EDIT : sudo apt-get install mysql-client libmysqlclient-dev I tried this command line but it looks that I already have the packages.
-
@jsulm How are you doing that ?
EDIT :Problem seems to be solved with the mysql connector package that I didn't downloaded
For those who have the same problem try the command :sudo apt-get install libmysqlcppconn-dev
That worked for me , thank you guys . -
@jsulm How are you doing that ?
EDIT :Problem seems to be solved with the mysql connector package that I didn't downloaded
For those who have the same problem try the command :sudo apt-get install libmysqlcppconn-dev
That worked for me , thank you guys .