What are the configures of officially built Qt

  • I downloaded from the following address:
    I need to check if the officially downloaded Qt version contains zlib library, or just uses the system.
    If Qt bundles zlib library, how could other out-of-source module link the zlib?

  • Moderators

    The precompiled one uses the system zlib on linux at least. I checked my install for you:

    [shockwave] /opt/Qt/5.8/gcc_64/lib > ldd libQt5Core.so
            linux-vdso.so.1 (0x00007fffdc4f7000)
            libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fe51221c000)
            libicui18n.so.56 => /opt/Qt/5.8/gcc_64/lib/libicui18n.so.56 (0x00007fe511d83000)
            libicuuc.so.56 => /opt/Qt/5.8/gcc_64/lib/libicuuc.so.56 (0x00007fe5119cb000)
            libicudata.so.56 => /opt/Qt/5.8/gcc_64/lib/libicudata.so.56 (0x00007fe50ffe8000)
            libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fe50fde4000)
            librt.so.1 => /usr/lib/librt.so.1 (0x00007fe50fbdc000)
            libz.so.1 => /usr/lib/libz.so.1 (0x00007fe50f9c5000)
            libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fe50f7c3000)
            libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fe50f4b0000)
            libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fe50f128000)
            libm.so.6 => /usr/lib/libm.so.6 (0x00007fe50ee15000)
            libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fe50ebfe000)
            libc.so.6 => /usr/lib/libc.so.6 (0x00007fe50e85a000)
            /lib64/ld-linux-x86-64.so.2 (0x00007fe51243a000)
            libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fe50e5e7000)

    As you can see it links to /usr/lib/libz.so.1.

    My guess is the default on windows is the internal Qt zlib since it doesn't install a separate zlib on windows as part of the Qt installer.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.