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

build android app with Debian host fails on undefined symbol qt_resourceFeatureZstd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.5, 6.3.1
    • Fix Version/s: 6.4.0 Beta1
    • Component/s: Build tools: rcc
    • Labels:
      None

      Description

      I'm building an an android app with a self compiled Qt for Android,

      For this I used the Qt on the host provided by Debian.

      Both have the same version: 6.3.1

      However, just before the end the build fails.
      Could you help me on this? I don't know what could be wrong.

      Error:

      [ 97%] Linking CXX shared module libwelle-io_arm64-v8a.so
      
      ld: error: undefined symbol: qt_resourceFeatureZstd
      
      >>> referenced by qrc_resources.cpp:0 (welle-io_autogen/MOX6SOXE6H/qrc_resources.cpp:0)
      
      >>>               CMakeFiles/welle-io.dir/welle-io_autogen/MOX6SOXE6H/qrc_resources.cpp.o:(qResourceFeatureZstd())
      
      >>> referenced by qrc_resources.cpp:0 (welle-io_autogen/MOX6SOXE6H/qrc_resources.cpp:0)
      
      >>>               CMakeFiles/welle-io.dir/welle-io_autogen/MOX6SOXE6H/qrc_resources.cpp.o:(qResourceFeatureZstd())
      
      clang++: error: linker command failed with exit code 1 (use -v to see invocation)
      
      make[3]: *** [CMakeFiles/welle-io.dir/build.make:1873: libwelle-io_arm64-v8a.so] Error 1
      
      make[2]: *** [CMakeFiles/Makefile2:91: CMakeFiles/welle-io.dir/all] Error 2
      
      make[1]: *** [CMakeFiles/Makefile2:234: CMakeFiles/apk.dir/rule] Error 2
      
      make: *** [Makefile:186: apk] Error 2
      
      The command "make -j$(nproc) apk" exited with 2.
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              ban F S
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes