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

rcc gets compiled with different compression support than Qt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 6.2.11, 6.2.13
    • Build System
    • None
    • Ubuntu 24.04.3
    • Linux/Wayland

      When building 6.2.11 or 6.2.13 LTS from source, rcc gets compiled without zstd support while libraries itself gets compiled with the support

      compilation:

      git clone https://github.com/qt/qt5.git
      cd qt5
      git checkout tags/v6.2.11-lts-lgpl
      git submodule update
      for i in qt5compat qtbase qtdeclarative qtimageformats qtshadertools qtsvg qtwayland; do
      sed -i -e "s/tqtc-//" $i/dependencies.yaml
      done
      ./configure -prefix /home/pierre/Qt/6.2.11/gcc_64
      make 
      make install
      

      I attached the config.summary and CMakeConfigureLog.yaml

      when I check the installatation, rcc claims it doesn't have zstd support while Qt config.h claims it supports it.

      pierre@zoidberg % cd /home/pierre/Qt/6.2.11/gcc_64
      pierre@zoidberg % ./libexec/rcc --h | grep algo
        --compress-algo <algo>                Compress input files using algorithm
                                              <algo> ([zlib], none).
                                              --compress-algo=none.
      pierre@zoidberg % grep QT_FEATURE_zstd include/QtCore/qconfig.h 
      #define QT_FEATURE_zstd 1
      

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

            qtbuildsystem Qt Build System Team
            chub Pierre Lamot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes