Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Mobile and Embedded
    3
    3
    1307
    Loading More Posts
    • 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
      g00dnight last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • T
          tk.fs last edited by

          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 Reply Quote 0
          • First post
            Last post