Mysql can not work in other device without QT application
General and Desktop
4
Posts
3
Posters
969
Views
1
Watching
-
I have a big problem here. I have installed the mysql driver and the program has been built and run in the Linux platform, everything is okay. However, when I moved the program to other embedded device which is without QT application, and QSqlDatabase::lastError shows "Driver not loaded Driver not loaded". I have put the file "libqsqlmysql.so" which is from Linux platform in the embedded device, but it can't work. Could anyone can help me solve this problem? Thanks.
-
Sorry, it doesn't make sense to me...maybe explain more detail. Thanks for your help a lot.
-
Hi and welcome to devnet,
Like your application is linked to Qt, libqsqlmysql.so is linked against the MySql client library. You need to have it on your target also