Problem compiling?
-
wrote on 1 Aug 2013, 21:09 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-r8econfigure.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] -
wrote on 2 Aug 2013, 06:03 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/2