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

REG [5.13.1->5.13.2] some examples fail to build on Android

XMLWordPrintable

    • Android, Linux/X11, macOS

      Install Qt 5.13.2 Android (arm64 used here) binaries. Launch QtCreator and one of the projects (error seems to be same):

      script/calculator

      script/qstetrix

      uitools/textfinder

      designer/calculatorbuilder

      designer/worldtimeclockbuilder/

      /opt/android/android-ndk-r19c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lc++
      clang++: error: linker command failed with exit code 1 (use -v to see invocation)
      make: *** [libcalculator.so] Error 1
      15:58:29: The process "/opt/android/android-ndk-r19c/prebuilt/linux-x86_64/bin/make" exited with code 2.
      Error while building/deploying project calculator (kit: Android for arm64-v8a (Clang Qt 5.13.2 for Android ARM64-v8a))
      When executing step "Make"
      

      Same example builds fine with Qt 5.13.1 Android binaries on same machine.

      Tested on Ubuntu, but seems to happen also on macOS. Windows content not available atm to test.

        1. 5132_android_x11.txt
          10 kB
          Johanna Äijälä
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            iknd Iikka Eklund
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes