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

Compiling projects to Android targets fail with "cannot find -lc++"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.12
    • Build tools: qmake
    • None
    • Linux/X11

    Description

      Trying to compile any project to an Android target with give an error

      cannot find -lc++
      linker command failed with exit code 1 (use -v to see invocation)
      

      Adding the following to .pro file would fix this

      QMAKE_LFLAGS += -nostdlib++

      However, it would be better if this flag is added automatically or Android targets.

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              assam Assam Boudjelthia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes