Solved Qt 5.13 APK build fail
-
Hi!
I have installed Qt 5.13 for Ubuntu. Androd SDK Version 26.1.1, NDK Version: 20.0.5594570.
I am trying to compile gallery example and as result I got:/home/android-ndk-r20/toolchains/x86_64-4.9/prebuilt/linux-x86_64/lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: error: cannot find -lc++
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libgallery.so] Error 1How to fix this?
-
@kuris996 I know the search function on. this forum is not the best, but this was answered only a few ours ago..
@aha_1980 said in cannot find -lc++ when building android app:
You should read
https://forum.qt.io/topic/103713/error-cannot-find-lc-qt-5-12-android
and
https://forum.qt.io/topic/104325/error-cannot-find-lc-error-during-compilation-on-android
for possible solutions.
-