Qt Android client for Postresql
-
[quote author="antreimer" date="1424547268"]The first so file I uploaded was only tested against lollipop. The second one was also tested against KitKat. I'll look into it. My brother has a Jellybean phone.[/quote]
i've edited my post. please the app seems to be working on my phone but now the database connection is not being established :P
BTW i'm testing it on KitKat too
-
[quote author="antreimer" date="1424547268"]The first so file I uploaded was only tested against lollipop. The second one was also tested against KitKat. I'll look into it. My brother has a Jellybean phone.[/quote]
i've edited my post. please the app seems to be working on my phone but now the database connection is not being established :P
BTW i'm testing it on KitKat too
-
I already did that. it says driver not loaded. its is the same error i was getting without this library. I added this code to check whether the library was loaded or not. And it shows that it is loaded (message box is shown):
@ QLibrary library("libpq.so");
if (library.load())
QMessageBox::information(this,"Loaded","Lib loaded");@ -
I already did that. it says driver not loaded. its is the same error i was getting without this library. I added this code to check whether the library was loaded or not. And it shows that it is loaded (message box is shown):
@ QLibrary library("libpq.so");
if (library.load())
QMessageBox::information(this,"Loaded","Lib loaded");@ -
what about libqsqlpsql.so?
Edit:
OK, I hope now it'll work. Qt does some majik that I didn't know of to install drivers.
copy libqsqlpsql.so into /path/to/qt/android_armv7/plugins/sqldrivers/ and try again. -
what about libqsqlpsql.so?
Edit:
OK, I hope now it'll work. Qt does some majik that I didn't know of to install drivers.
copy libqsqlpsql.so into /path/to/qt/android_armv7/plugins/sqldrivers/ and try again. -
[quote author="antreimer" date="1424550965"]what about libqsqlpsql.so?
Edit:
OK, I hope now it'll work. Qt does some majik that I didn't know of to install drivers.
copy libqsqlpsql.so into /path/to/qt/android_armv7/plugins/sqldrivers/ and try again.[/quote]OK. I copied both libqsqlpsql.so and libpq.so to the specified destination but that didn't work either. same problem.
libqsqlpsql.so lib is also loaded according to the method posted in my previous post -
[quote author="antreimer" date="1424550965"]what about libqsqlpsql.so?
Edit:
OK, I hope now it'll work. Qt does some majik that I didn't know of to install drivers.
copy libqsqlpsql.so into /path/to/qt/android_armv7/plugins/sqldrivers/ and try again.[/quote]OK. I copied both libqsqlpsql.so and libpq.so to the specified destination but that didn't work either. same problem.
libqsqlpsql.so lib is also loaded according to the method posted in my previous post -
ok. I'm fairly new to qt on android as well but my latest understanding now is that you don't need libqsqlpsql.so. It must somehow be copied by qt and it'll appear as libplugins_sqldrivers_libqsqlpsql.so in your apk
-
ok. I'm fairly new to qt on android as well but my latest understanding now is that you don't need libqsqlpsql.so. It must somehow be copied by qt and it'll appear as libplugins_sqldrivers_libqsqlpsql.so in your apk
-
I now statically linked the plugin so nothing should be needed to do other then to copy it into th sqldrivers plugin folder https://drive.google.com/open?id=0ByPpOAN5EsHKfmgwRTFvQUl5Z1NvUnlYMHptTEs0d2xEc24xZ19Jb0ZDMTBpb3JDQ014ZkU&authuser=0
-
I now statically linked the plugin so nothing should be needed to do other then to copy it into th sqldrivers plugin folder https://drive.google.com/open?id=0ByPpOAN5EsHKfmgwRTFvQUl5Z1NvUnlYMHptTEs0d2xEc24xZ19Jb0ZDMTBpb3JDQ014ZkU&authuser=0
-
[quote author="antreimer" date="1424556611"]I now statically linked the plugin so nothing should be needed to do other then to copy it into th sqldrivers plugin folder https://drive.google.com/open?id=0ByPpOAN5EsHKfmgwRTFvQUl5Z1NvUnlYMHptTEs0d2xEc24xZ19Jb0ZDMTBpb3JDQ014ZkU&authuser=0[/quote]
brilliant! Works like a charm! thank you so very much for your help. I just copied the file to /path/to/Qt/android_armv7/plugins/sqldrivers and remove the android extra libs script from .pro file and its now working :)
-
[quote author="antreimer" date="1424556611"]I now statically linked the plugin so nothing should be needed to do other then to copy it into th sqldrivers plugin folder https://drive.google.com/open?id=0ByPpOAN5EsHKfmgwRTFvQUl5Z1NvUnlYMHptTEs0d2xEc24xZ19Jb0ZDMTBpb3JDQ014ZkU&authuser=0[/quote]
brilliant! Works like a charm! thank you so very much for your help. I just copied the file to /path/to/Qt/android_armv7/plugins/sqldrivers and remove the android extra libs script from .pro file and its now working :)