I want to read a library version of dynamic library (.dylib on Mac and .dll on Windows) with Qt method. Say I created several versions of given library over time and now I want to read the version itself. We can add the version to the project, see: add version.
- I do know how to read Qt library version:
QT_VERSION_STR
- I do know how to read the version of my application:
QApplication::applicationVersion()
I have the libraries created manually with some versions. Now I want to be able to read from the file (.dylib or .dll) which version was set.