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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2, 5.10.0 RC
    • 5.9.0 Beta 2
    • QPA
    • None
    • 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

              taipan BogDan Vatra
              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