QCA android version
-
I'm developing QML application as android and desktop version with QCA support, as long as i just worked with desktop version, there wasn't any problems. When I tried to compile android version, compiler started to say that there is no lqca (error: cannot find -lqca). I downloaded QCA 2.1 source from http://delta.affinix.com/qca and compilled as it is described in INSTALL file (on Windows) i have libqca.dll.a and others .dll files.
-
You most probably need to cross compile this library for Android, and then configure your project so that it is included into the APK file automatically.
-
@sierdzio Any advices how to do that? I have to build shared object (.so) libraries?
-
Yes, you need a .so, compiled with certain Android architecture in mind. I've quickly searched the web on how to easily do that in case of QCA, but found no results. It's build system seems to be based on cmake, so maybe that will lead you to a good solution
-
I built .a file, changed extension to .so and it worked
-
Haha, nice one :-)
-
I still got problems, i don't have idea why it is not working, when i tried last time to compile this - it worked, now i'm trying to compile (i haven't changed anything) - it's not working.
It's working well on desktop version Qt 5.4.0, i can't get it working on android http://scr.hu/0tgp/6ntgy
undefined reference, but the same QCA files are with desktop and android version so i don't know what is wrong :/