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. Qt 5.3 on OS X 10.9 (cross-compiling Android)
Forum Updated to NodeBB v4.3 + New Features

Qt 5.3 on OS X 10.9 (cross-compiling Android)

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 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.
  • G Offline
    G Offline
    g00dnight
    wrote on 22 Aug 2014, 19:08 last edited by
    #1

    Hello, I just trying to build Qt (in fact, I need to build only some modules not the whole Qt) for Android on my Mac.

    I set up $JAVA_HOME, $ANDROID_SDK_ROOT and $ANDROID_NDK_ROOT variables. Also I set up $ANDROID_API_VERSION to android-20, as I have {$ANDROID_SDK_ROOT}/platforms/android-20 directory.

    I run configure script like this:
    @./configure -xplatform android-g++ -nomake tests -nomake examples -android-ndk /Users/alexeykolikov/android-ndk-r10 -android-sdk /Users/alexeykolikov/android-sdk -android-ndk-host darwin-x86_64 -android-toolchain-version 4.8 -android-ndk-platform android-20 -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors
    @
    And got these results at the end of the log:
    @Running configuration tests...
    Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
    Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.

    Could not determine the target architecture!
    Turn on verbose messaging (-v) to see the final report.
    STL functionality check failed! Cannot build Qt with this STL library.
    Turn on verbose messaging (-v) to /Users/alexeykolikov/Documents/github/qt5/qtbase/configure to see the final report.
    @
    Did someone encountered this issue?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 23 Aug 2014, 22:25 last edited by
      #2

      Hi,

      It seems that several people are getting problem with r10. You should try to contact the necessitas google group or go to the #necessitas IRC channel to may get quicker help.

      Also, have a look at the "bug report system":http://bugreports.qt-project.org to see if there's something about that

      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
      • T Offline
        T Offline
        tk.fs
        wrote on 27 Sept 2014, 14:19 last edited by
        #3

        adding -android-ndk-platform android-19 (android-19 being an installed platform in you android-ndk/platforms folder) solved this issue for me.

        it seems the default ndk-platform used is no longer supplied with current editions of the android ndk for mac os x

        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