Important: Please read the Qt Code of Conduct -

Problem compiling?

  • 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:


    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]

  • 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 :)

Log in to reply