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. How to get version number of external libraries used in Qt
Forum Updated to NodeBB v4.3 + New Features

How to get version number of external libraries used in Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 569 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.
  • D Offline
    D Offline
    DeepakH
    wrote on last edited by
    #1

    Hello,

    I am using using prebuilt binaries of Qt5.12.3 for Windows for building our application
    I was scanning my tool in a binary analysis tool to scan for vulnerabilities and getting the CVE scores for our application.
    However, the tool could not detect the version of libraries used in Qt5Core such as freetype, libpng, pcre2 and others and ended up showing me a lot of critical vulnerabilities.
    Is there any way I can get the version of the libraries used for building Qt so that I put the correct version number of freetype, libpng etc and then rescan to get correct vulnerability count?

    Now, ideally I am supposed to build my application using the latest Qt version to have low number of vulnerabilities, but I wanted to know if there was a way to get the version number of libraries used.

    Any help in this direction would be useful.
    Thanks!

    eyllanescE 1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Open docs for your Qt version and search for library name. For example:

      • https://doc.qt.io/qt-5/qtgui-attribution-freetype.html
      • https://doc.qt.io/qt-5/qtgui-attribution-libpng.html
      • https://doc.qt.io/qt-5/qtsql-attribution-sqlite.html

      (links show most up-to-date state, so Qt 5.15.x)

      (Z(:^

      1 Reply Last reply
      2
      • D DeepakH

        Hello,

        I am using using prebuilt binaries of Qt5.12.3 for Windows for building our application
        I was scanning my tool in a binary analysis tool to scan for vulnerabilities and getting the CVE scores for our application.
        However, the tool could not detect the version of libraries used in Qt5Core such as freetype, libpng, pcre2 and others and ended up showing me a lot of critical vulnerabilities.
        Is there any way I can get the version of the libraries used for building Qt so that I put the correct version number of freetype, libpng etc and then rescan to get correct vulnerability count?

        Now, ideally I am supposed to build my application using the latest Qt version to have low number of vulnerabilities, but I wanted to know if there was a way to get the version number of libraries used.

        Any help in this direction would be useful.
        Thanks!

        eyllanescE Offline
        eyllanescE Offline
        eyllanesc
        wrote on last edited by
        #3

        @DeepakH Qt provides the qt_attribution.json files for each library it uses where the version of the library is indicated, for example: https://code.qt.io/cgit/qt/qtbase.git/tree/src/3rdparty/libpng/qt_attribution.json?h=5.15

        If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

        1 Reply Last reply
        4
        • D Offline
          D Offline
          DeepakH
          wrote on last edited by
          #4

          Thank you for your answers!
          I'll check them out.

          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