Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.13 APK build fail
Forum Updated to NodeBB v4.3 + New Features

Qt 5.13 APK build fail

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 439 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kuris996
    wrote on last edited by
    #1

    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 1

    How to fix this?

    J.HilkJ 1 Reply Last reply
    0
    • K kuris996

      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 1

      How to fix this?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @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:

      @fazwi

      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.


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • K Offline
        K Offline
        kuris996
        wrote on last edited by
        #3

        Thanks.

        https://forum.qt.io/topic/103713/error-cannot-find-lc-qt-5-12-android

        helped :))

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved