[Interest] Android: use Kotlin alongside with Java?

Alexander Dyagilev alervdvcw at gmail.com
Fri Jan 8 17:14:40 CET 2021


Can I just put it inside of android/src folder?

I want to be able to easily modify its source code at any time.


On 1/8/2021 7:07 PM, Kyle Edwards via Interest wrote:
> 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
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list