Cross-compiling Subsurface-mobile from Linux to Android

Willem Ferguson willemferguson at zoology.up.ac.za
Wed Jun 22 04:30:16 PDT 2016



On 20/06/2016 21:52, Axel Richter wrote:
> Am 20.06.2016 um 21:14 schrieb Willem Ferguson:
>>
>> I am downloading build components to cross-compile to Android (i.e. 
>> generating an .apk file). I installed Android-ndk, Android-sdk (NOT 
>> Android-Studio) and the JDK (version 1.8). None of these components 
>> required any compilation or building to be functional. Below a few 
>> remarks on the Android components.
>>
>> In order to start developing applications, you must install the 
>> Platform-tools
>> and at least one version of the Android platform, using the SDK Manager.
>
> Dear Willem,
>
> yes, you will need such tools, especially for
>
> 1) yes, you will need all the libraries twice - one for the (host) 
> linux and one for the (arm7 in your case?) processor.
>
> 2) For this you will need the image, too. Downloable via the SDK 
> manager. If you get the android SDK, you will have an image to run 
> into ADB.
>
> Private suggestion: download eclipse - with the android part, I'm sure 
> there is one. So you have all in one package.
>
> Axel.
Simple questions from an ignorant person.

I am not sure how to install Qt for use on Android. For 
Subsurface-mobile to run on Android, where should Qt be installed?

Destination platform:
My intuition suggests to me that Qt-Android would need to be installed 
on native Android, but does this come across as part of the Subsurface 
application? I have never installed Qt on my Android device, yet I run 
Subsurface-mobile. Looks like the version for Android is Qt V5.7

Source platform:
What Qt version is required on the source (development) machine? I 
cannot see that Qt for Android would be required on the Linux source 
machine, unless this is somehow included as part of Subsurface-mobile? 
My Qt environment on Linux is 5.5.1

Kind regards,
willem




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160622/c5390f56/attachment-0001.html>


More information about the subsurface mailing list