QT Sql driver

316 views
Skip to first unread message

Marcellodgl

unread,
Oct 17, 2011, 11:22:53 AM10/17/11
to android-qt
Where can i get detailed instruction to compile qtsql database drivers
Thanks

Marcello

Adam Strycharski

unread,
Oct 17, 2011, 11:51:45 AM10/17/11
to andro...@googlegroups.com
Which drivers do you need? I sucsessful compiled driver for mysql connection. So I can give you some hints.

Adam

2011/10/17 Marcellodgl <marce...@gmail.com>

Marcellodgl

unread,
Oct 19, 2011, 9:38:03 AM10/19/11
to android-qt
I need the postgres one, i think it need a similar procedure
What have you done?
Marcello

On 17 Ott, 17:51, Adam Strycharski <astrychar...@gmail.com> wrote:
> Which drivers do you need? I sucsessful compiled driver for mysql
> connection. So I can give you some hints.
>
> Adam
>
> 2011/10/17 Marcellodgl <marcello...@gmail.com>

Marcellodgl

unread,
Oct 19, 2011, 9:40:02 AM10/19/11
to android-qt
mm

On 17 Ott, 17:51, Adam Strycharski <astrychar...@gmail.com> wrote:
> Which drivers do you need? I sucsessful compiled driver for mysql
> connection. So I can give you some hints.
>
> Adam
>
> 2011/10/17 Marcellodgl <marcello...@gmail.com>

Marcellodgl

unread,
Oct 23, 2011, 3:44:31 PM10/23/11
to android-qt
Ok i realize by myself to obtain qpsql driver for qt

Now i've to procede to create a installer that encapsulte the needings
to use qt and postgres driver for my application.

Ismael Barros²

unread,
Nov 11, 2012, 4:47:27 AM11/11/12
to andro...@googlegroups.com
So you got QtSQL+MySQL working on Android? How did you do it?

The best I could do was to get libmysqlclient.so from a chroot install on an Android phone, compile the MySQL QtSQL driver against it, and place them in the rules.xml file so that they get uploaded to my Android device on deployment. However, the application always fails to link libmysqlclient.so on startup for some reason I don't know. Can you help me out here?

Regards,
Ismael

eric MONROSE

unread,
Nov 11, 2012, 7:36:46 AM11/11/12
to android-qt
try this,  i get it ok when  i launch my app on the smartphone with qtcreator , but when i close the app  and
 when i launch it directly on the smatphone  it fails


2012/11/11 Ismael Barros² <razie...@gmail.com>
MysqlAndroid.pdf
MysqlWebAndroid.pdf

Efe Kilic

unread,
Aug 1, 2013, 11:29:59 AM8/1/13
to andro...@googlegroups.com
How you were able to do it?
Reply all
Reply to author
Forward
0 new messages