[Interest] Android: use Kotlin alongside with Java?
Kyle Edwards
kyle.edwards at kitware.com
Fri Jan 8 17:07:47 CET 2021
On 1/8/21 11:03 AM, Alexander Dyagilev wrote:
> Hello,
>
> I would like to use some android library in my Qt application. This
> library is written using Kotlin.
>
> I don't want it to be accessible from C++ code. Just from already
> existing Java code of my application.
>
> Is it possible? If yes, what I need to do to achieve this?
Without knowing the specifics of your project, my first thought is to
just link it in like any other Java library. Kotlin compiles to Java
bytecode.
Good luck,
Kyle
More information about the Interest
mailing list