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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes