Reputation: 93
I am little bit confused with SDK path in qt for mobile. I know Qt is based on Android NDK (C++). Then why we need to set path of SDK in tools->options->device->android->sdk path. Is SDK is based on Java?
Upvotes: 0
Views: 105
Reputation: 21514
NDK is used to compile your C++ code. But NDK is only able to generate .so files (libraries compiled from C++). SDK is needed to generate the apk that will contain the program's main entry point that will end up using the .so files compiled by the NDK.
I don't think (not sure) that any app can be deployed on an Android device without using the SDK. Anyway, even if that could be possible, the way QtCreator works, it needs the SDK to deploy your application correctly on the device.
Upvotes: 1