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

Consider shipping ship zlib dll, and/or removing zlib internal sources

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.5.0 FF
    • Fix Version/s: None
    • Labels:
      None

      Description

      Consider whether we should

      • ship zlib as a separate dll, instead of linking it into Qt6Core
      • remove qtbase/src/3rdparty/zlib, and rely on external sources

      Advantages:

      • zlib update (e.g. due to security issues found) won't require an update of qt sources & rebuild anymore
      • Projects can make use of external zlib dll capabilities

      Disadvantages:

      • Windows does not provide zlib by default
        • Users who build Qt on Windows would have to install & build zlib themselves, or get pre-built packages from somewhere. Would we provide these prebuilt packages?
        • Every script packaging a qt app would need to be extended to also handle zlib1.dll
        • dll hell? How compatible are different zlib1.dll's in the path?
        • Is there a canonical zlib1.dll (which https://zlib.net/DLL_FAQ.txt suggests, but is not found on zlib.net)?

      Unknown: How is the situation on mac?

        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:
              kkohne Kai Köhne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes