[SOLVED] Mysql driver not compile in QT 5.3 for Android
-
Sorry and Thanks Sgaist !!!
mail edited ...
-
the contact member page cannot write in an email address,how can we contact each other?by the way ,how can I compile a Mysql driver at win7-32?is there any way I can follow?please ,help,thanks.
@projetoslinux: I have send a message to u,and I have write an address in the message,my user name ,you can find here.thanks again. -
After several weeks I found PROBLEM
Only add line to ad include and libs in qmake
"INCLUDEPATH+=$SR/usr/include/mariadb/" "LIBPATH+=$SR/usr/lib/mariadb/"
thanks !!!
-
Hi, I'm trying unsuccessfully for a week to collect mysql driver for android, can I throw libmysql.so, will be very grateful. Or where there is a link to instructions on how to assemble.
-
link to download mysql plugins for armv7
http://www.adrive.com/public/vUYRMb/libqsqlmysql.so
compiled in ubuntu 14.04 32bits -
Thank you very much. but after much agonizing gathered under Ubuntu 14.04 amd64.
And who knows how to build under windows? -
For Windows, please search the forum, it has been asked and answered many times already
-
Please tell me exactly where I can not find this discussion, and I see Mr. forum only questions and no concrete answers.
-
Did you first follow the guide from the documentation ? What error did you have ?
-
In general, I can not find the assembly instructions for Android MySQL under Windows. And under Ubuntu 14.04 but I gathered when compiling the project, it gives the driver is available but not loaded. Under Ubuntu, collected according to the instructions https://qt-project.org/wiki/Build_Qt5_mysql_plugin_for_Android
-
You won't find them because officially, there's no MySQL client library for Android.
The guides provide instructions for MariaDB so you have that option, but if you want to save time, just follow the guide, then copy the needed resulting files to your Windows installation.
-
Thanks for the replies I will try. I would like to specify which files you want to copy -libqsqlmysql.so and libmariadb.so? Or need some other files?
-
It's all shown in the wiki entry you mentioned earlier