Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72330

Android cxx11_future not available because of pthread in configure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.12.0 RC2
    • Build System
    • None
    • Android
    • 6b488d89507e4d252b05225a203183b5e83e92ac (qt/qtbase/dev)

    Description

      The flag `cxx11_future` is not available on Android (arm7 and arm8, tested with the latest NDK - r18b and with a less recent one NDK11).

      The problem comes from the configure script and the build system: the check tries to link with `pthread` and this is not available on Android. All in all, the feature detection fails for the wrong reasons.

      This problem existed also in 5.10.1.

       

      Attachments

        For Gerrit Dashboard: QTBUG-72330
        # Subject Branch Project Status CR V

        Activity

          People

            qtbuildsystem Qt Build System Team
            raffi Raffi Enficiaud
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes