Important: Please read the Qt Code of Conduct -

Qt 5.15.1 from sources configure errors

  • Hello,
    i am following this guide: to setup qt 5.15.1 for android development on ubuntu 20.04 LTS. Unfortunately after running:

    ./configure -xplatform android-clang --disable-rpath -nomake tests -nomake examples -android-ndk <path/to/ndk> -android-sdk <path/to/sdk> -android-ndk-host  linux-x86_64 -skip qttranslations -skip qtserialport -no-warnings-are-errors

    I got the following errors:

    ERROR: Qt requires a compliant STL library.
    ERROR: C++11 <random> is required and is missing or failed to compile.
    ERROR: detected a std::atomic implementation that fails for function pointers.
    Please apply the patch corresponding to your Standard Library vendor, found in
    Check config.log for details.

    This 'patch' is not relevant for my machine.

    Can anyone help?

  • Lifetime Qt Champion


    Out of curiosity, why not use the pre-built version of Qt for Android ?

Log in to reply