Giter Club home page Giter Club logo

Comments (7)

scienceasdf avatar scienceasdf commented on June 22, 2024 2

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.

from qtciphersqliteplugin.

DisableAsync avatar DisableAsync commented on June 22, 2024

Actually, I should say this: "How to use the library if i build it as a lib on android?"

from qtciphersqliteplugin.

DisableAsync avatar DisableAsync commented on June 22, 2024

it seems the library isnt ready for usage on android at all?
I tried several ways to build&use it on android, but all failed.

from qtciphersqliteplugin.

DisableAsync avatar DisableAsync commented on June 22, 2024

could you give me same details about the building procedure?
im not that familiar with android development.

from qtciphersqliteplugin.

scienceasdf avatar scienceasdf commented on June 22, 2024

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?

from qtciphersqliteplugin.

DisableAsync avatar DisableAsync commented on June 22, 2024

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
or maybe this is not the "Qt for Android plugin folder" you said:
Qt\Qt5.10.0\5.10.0\android_armv7\plugins\sqldrivers

for the question you asked: yes, im chinese, why? did i use some stupid english?

from qtciphersqliteplugin.

DisableAsync avatar DisableAsync commented on June 22, 2024

oops, stupid i finally found the problem.
everytime i tried to build for android, i modified the .pro file to build it as a "lib", but not an "App"
so the .so file i got is totally wrong.

thanks for the promotion.

from qtciphersqliteplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.