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

build android app with Debian host fails on undefined symbol qt_resourceFeatureZstd

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.4.0 Beta1
    • 6.2.5, 6.3.1
    • Build tools: rcc
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated: