getting runtime version information of Qt5 library

  c++, linux, qt, qt5

Is there inside the Qt5 libraries (for Linux) a C++ function or an API to retrieve at runtime the precise version information of the Qt shared library?

The GNU glibc has gnu_get_libc_version. The libcurl has curl_version.

I want the equivalent for Qt5 (for the RefPerSys project, if that matters). It uses a Qt5 X11 GUI interface.

Source: Windows Questions C++

LEAVE A COMMENT