Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Who can tell me qt5 for android 's configure's parameter means what ?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hfeeki
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hfeeki
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Wild guess: did you try with just darwin ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved