-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] It is possible to build as a lib? #12
Comments
Actually, I should say this: "How to use the library if i build it as a lib on android?" |
it seems the library isnt ready for usage on android at all? |
I succeed in building it with Android. Use the android toolkit, build it with qmake and you will get .so file. Copy the file into the plugin folder, and connection to a database is really easy. |
could you give me same details about the building procedure? |
You need to open the .pro file with Qt Creator. Then use your kits for Android building( if you have configured your Android kits). And just in release mode( in debug mode the .so file will be of no use) click the build icon( not the run icon), you will get a .so library in your build path in the android_build/libs folder. So your will find libsqlitecipher.so in this folder, and copy that to your Qt for Android plugin folder, then you can use it with no difference with the desktop plugin. And I wanna know that if you are Chinese? |
sorry for the late reply. i have been busy these weeks. actually i tried the method you explained, if i did it correctly? Qt just won't pack the .so file into apk for the question you asked: yes, im chinese, why? did i use some stupid english? |
oops, stupid i finally found the problem. thanks for the promotion. |
No description provided.
The text was updated successfully, but these errors were encountered: