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

An android-clang mkspec with libc++ should be provided

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.9.0 Beta 2
    • Fix Version/s: 5.9.2, 5.10.0 RC
    • Component/s: QPA: Other
    • Labels:
      None
    • Platform/s:
      Android

      Description

      While the reasons given in QTBUG-57280 are dubious, in my opinion there should still be an official, supported way to build qt5 with clang AND libc++ instead of libstdc++. (even if it is not made default).

      Else the old buggy libstdc++ from gcc 4.9 is used, and more and more C++ programs and libraries are not able to compile with it.
      While I understand that the size increase with clang VS gcc on android is an issue, I'd rather have big binaries than no binaries at all due to lacking c++ support.

      Currently, trying to use the patch in QTBUG-57280 yields the following at configure:

      ERROR: Qt requires a compliant STL library.
      

      I added the result of ./configure in the config.log attachment.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                taipan BogDan Vatra
                Reporter:
                jcelerier Jean-Michaël Celerier
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes