Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.12
-
None
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
- duplicates
-
QTBUG-76293 ld: error: cannot find -lc++ with Android NDK r20
- Closed