Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.15.1 from sources configure errors

Qt 5.15.1 from sources configure errors

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 2 Posters 620 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    Kyeiv
    wrote on last edited by
    #1

    Hello,
    i am following this guide: https://wiki.qt.io/Android 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
      qtbase/config.tests/atomicfptr
    
    Check config.log for details.
    
    

    This 'patch' is not relevant for my machine.

    Can anyone help?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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