[Interest] How to create a library with Android java source

Ben Lau xbenlau at gmail.com
Thu Oct 22 12:32:50 CEST 2015


Hi Gian,

You may check my project on github. It is a Qt library for Android with
Java source code. In the DEV branch, it has a native image picker written
with Java. You could find out how to include Java source file as a library
from the example code.

https://github.com/benlau/quickandroid


On 21 October 2015 at 22:43, Gian Maxera <gmaxera at gmail.com> wrote:

> Hello,
> I’m moving all my common source files into a library and share the code
> between my Qt projects.
> The qmake .pri file works fine … but I have problem on how to include also
> Java source files when the target is Android.
>
> I found this blog:
>
> http://imaginativethinking.ca/what-the-heck-how-do-i-share-java-code-between-qt-android-projects/
>
> Is there no other alternative ??
>
> To qmake developers: can we make this process easier ?
>
> Thanks,
> Gianluca.
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151022/d0ad4b2b/attachment.html>


More information about the Interest mailing list