Qt Forum

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

    Problem compiling?

    Mobile and Embedded
    2
    2
    1092
    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.
    • T
      topocc last edited by

      I am compiling qt android and I have a question, if I am compiling in windows to Configure.exe example to windows xp sp3, x86:
      set variables systemd:

      ANDROID_HOME=C:\android\adt-bundle-windows-x86-20130522\sdk
      ANDROID_NDK_ROOT=C:\android\android-ndk-r8e
      ANDROID_NDK_HOST=linux-x86_64
      ANDROID_NDK_PLATFORM=android-14
      ANDROID_NDK_TOOLCHAIN_VERSION=4.7
      ANDROID_NDK=C:\android\android-ndk-r8e

      configure.exe -developer-build -xplatform android-g++ -nomake tests -nomake examples -android-ndk C:/android/android-ndk-r8e -android-sdk C:/android/adt-bundle-windows-x86-20130522/sdk -android-ndk-host armeabi-v7a -skip qttranslations -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -qt-sql-mysql -l mysql -I C:/mysql-5.5.29-win32/include -L C:/mysql-5.5.29-win32/lib

      and error displays me is:

      Unknown option -android-ndk-host
      Unable to detect the platform from environment. Use -platform command lineargument or set the QMAKESPEC environment variable and run configure again
      See the README file for a list of supported operating systems and compilers.
      Usage: configure [options]

      http://pastebin.com/VqkYnCjT

      1 Reply Last reply Reply Quote 0
      • M
        Moster last edited by

        Android-ndk-host armeabi-v7a does not really make sense. I dont exactly know the usage of this option, but as far as I know it determines the OS type of the host system(your PC). So I dont think windows xp is armeabi-v7a. There should be something like windows-x86
        I hope Im right :)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post