[Android-development] Compiling Qt Android under Mac OS X

Pekka Nikander pekka.nikander at iki.fi
Sun Oct 19 20:29:39 CEST 2014


> However, I have trouble building Qt Android.  I'm following these instructions
> 
> http://qt-project.org/wiki/Qt5ForAndroidBuilding
> 
> When I run configure, under Mac OS X 10.9.5, I get lots of error messages, see below for the first few ones.
> 
> It looks like that compiling Qt Android assumes that you are compiling under Linux.  Is that so?  If so, where should I start to fix the compilation so that it works also under Mac OS X?
> 
> $ env | grep ANDROID
> ANDROID_SDK_ROOT=/Volumes/Work/Android/NVPACK/android-sdk-macosx
> ANDROID_NDK_ROOT=/Volumes/Work/Android/NVPACK/android-ndk-r10c
> ANDROID_NDK_HOST=darwin-x86_64
> $ ./qtbase/configure -v -xplatform android-g++ -nomake tests -nomake examples -android-toolchain-version 4.8 -android-ndk-platform android-10 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors -opensource -confirm-license

Never mind.  I had misunderstood what -android-ndk-platform parameter means.  With android-19 at least configure succeeded.  Sorry for the noise.

--Pekka Nikander

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4827 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20141019/5db782e4/attachment.bin>


More information about the Android-development mailing list