Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What are the configures of officially built Qt

What are the configures of officially built Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 535 Views 1 Watching
  • 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.
  • jiancaiyangJ Offline
    jiancaiyangJ Offline
    jiancaiyang
    wrote on last edited by
    #1

    I downloaded from the following address:
    http://download.qt.io
    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?

    我们自己的论坛:http://qtdream.com
    擅长三维角色仿真动画。

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ambershark
      wrote on last edited by ambershark
      #2

      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.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      1

      • Login

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