How to read library version in Qt?
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. 1. I do know how to read Qt
library version: QT_VERSION_STR 2. 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.
No comments:
Post a Comment