Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Cross-compile from Linux Docker Container to Windows - How to get Zstandard support for resource Compression
Qt 6.11 is out! See what's new in the release blog

Cross-compile from Linux Docker Container to Windows - How to get Zstandard support for resource Compression

Scheduled Pinned Locked Moved Unsolved Qt 6
windows
5 Posts 2 Posters 515 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.
  • Z Offline
    Z Offline
    Zuuka
    wrote last edited by Zuuka
    #1

    I am building Qt6(Linux Host) and Qt6 Mingw Crosscompile Toolchain in a Ubuntu 24.04 Docker Container for later Cross Compilation of an Application.
    The Linux Host Qt6 has zlib and zstd installed and configure gives
    system zlib ... yes
    Zstandard support ... yes
    When configuring Qt6 for Windows cross build (MinGW Toolchain) config summary says:
    system zlib ... yes
    Zstandard support ... no
    My guess is that zstd for MinGw is not installed. And i can't find a package containing zstd and MinGW like i did
    for zlib (which is installed).
    So is there a bundled Version?
    The reason i suggest that this is needed, when crosscompiling an application i get :
    undefined reference to `qResourceFeatureZstd()' when linking the resources with mingw ld.
    I have tried Qt6.8.3.

    Christian EhrlicherC 1 Reply Last reply
    0
    • Z Zuuka

      I am building Qt6(Linux Host) and Qt6 Mingw Crosscompile Toolchain in a Ubuntu 24.04 Docker Container for later Cross Compilation of an Application.
      The Linux Host Qt6 has zlib and zstd installed and configure gives
      system zlib ... yes
      Zstandard support ... yes
      When configuring Qt6 for Windows cross build (MinGW Toolchain) config summary says:
      system zlib ... yes
      Zstandard support ... no
      My guess is that zstd for MinGw is not installed. And i can't find a package containing zstd and MinGW like i did
      for zlib (which is installed).
      So is there a bundled Version?
      The reason i suggest that this is needed, when crosscompiling an application i get :
      undefined reference to `qResourceFeatureZstd()' when linking the resources with mingw ld.
      I have tried Qt6.8.3.

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote last edited by
      #2

      @Zuuka said in Cross-compile from Linux Docker Container to Windows - How to get Zstandard support for resource Compression:

      And i can't find a package containing zstd and MinGW like i did
      for zlib (which is installed).

      See e.g. https://packages.msys2.org/packages/mingw-w64-x86_64-zstd

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zuuka
        wrote last edited by Zuuka
        #3

        Thank your for reply. I am not using msys2 though. How can i get the package for Ubuntu24?
        Need for building myself using mingw?! :/
        Another question would be. Maybe only one of both is needed for compressing resources?
        Either zlib or zstd?! Can i force what to use or are both needed?

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote last edited by
          #4

          I don't see why this dll should not work. Simply try it out...

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zuuka
            wrote last edited by
            #5

            Ok. WIll try. Thank you .

            1 Reply Last reply
            0

            • Login

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