Configure Qt build for Android x86 on Genymotion on older CPU-s



  • I was not able to use Qt 5.5 officially shipped by Qt Maintenance tool on Genymotion (VirtualBox) due to missing ssse3 extension in host CPU.
    Since 5.4 some of Qt libraries are built with those flags and my old CPU (AMD Phenom 1), still capable to does its tasks, failed....
    But I successfully built Qt 5.5.1 for Android x86 with following configure options:

    configure -xplatform android-g++ -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2
     -android-arch x86 -nomake tests -nomake examples -android-ndk <path to ndk>
     -android-ndk-host linux-x86_64 -android-toolchain-version 4.8 -skip qttranslations
     -skip qtwebkit -skip qtserialport -skip qtwebkit-examples -no-warnings-are-errors
    

    Other requirements (https://wiki.qt.io/Qt5ForAndroidBuilding) have to be fulfilled as well.

    I just wanted to encourage ones who have similar problems, that to get own Qt built was not so difficult and didn't take long.
    Using older versions of Qt (i.e. 5.3) - compiled without ssse3 flags then - make no sense due to missing features and bugs.

    Regards
    Seelook


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.