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. Problem compiling?

Problem compiling?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.2k Views
  • 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 Offline
    T Offline
    topocc
    wrote on 1 Aug 2013, 21:09 last edited by
    #1

    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
    0
    • M Offline
      M Offline
      Moster
      wrote on 2 Aug 2013, 06:03 last edited by
      #2

      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
      0

      1/2

      1 Aug 2013, 21:09

      • Login

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