Who can tell me qt5 for android 's configure's parameter means what ?

  • NDK_ROOT=/Users/michael/Develop/android/android-ndk-r9/
    export ANDROID_SDK_ROOT=/Users/michael/Develop/android/android-sdk-macosx/
    export ANDROID_API_VERSION=android-18
    export ANDROID_BUILD_TOOLS_REVISION=android-4.3
    ./configure -developer-build -xplatform android-g++ -nomake tests
    -nomake examples -android-ndk ${NDK_ROOT}
    -android-ndk-host darwin-x86_64 -android-ndk-platform android-18
    -android-toolchain-version 4.8 -skip qttranslations -skip qtwebkit
    -skip qtserialport -skip qtwebkit-examples

    The ld console output tell me that 'darwin-x86_64' do not existed. But what correct value for -android-ndk-host ?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Did you try without -android-ndk-host ? (IIRC you need when the auto-detection fails)

  • If I try without -android-ndk-host , It will report error ,and it tell me do not know android-ndk-host .

  • Lifetime Qt Champion

    Wild guess: did you try with just darwin ?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.