Qt for android, C++ aplication or java bytecodes
-
wrote on 24 Mar 2018, 00:17 last edited by Exotic_Devel
When I compile applications for Android does the compiler generate applications native C++ or generates Java Bytcodes?
-
When I compile applications for Android does the compiler generate applications native C++ or generates Java Bytcodes?
wrote on 24 Mar 2018, 07:41 last edited byA C++ compiler does not generate C++, it generates native machine code from C++.
-
wrote on 24 Mar 2018, 11:34 last edited by
That's what I mean, it generates a native application.
My question was whether Qt is just a binding for the Android Java classes whose compilation would result in Java bytecodes or a native hardware application. -
Hi,
No it's not. Your application becomes a library loaded by Android's runtime which requires a small amount of Java but you are writing and using C++. You can access Android's Java functionalities through JNI if needed.
1/4