PDA

View Full Version : How can i see the Qt Version from the dll



peter666
16th May 2012, 12:48
I want to test the qt version only with the dll.
qtcore.dll qtgui.dll
I have two programms using the same qt dlls.
When i install a new version of one of this programs
the installer should give a warning when it sees that the current dlls
have a different version (incompatible to the sw to be installed)

ChrisW67
17th May 2012, 01:43
Qt 4.x DLLs should all be binary compatible. Your software can check the library version at run time using qVersion and refuse to run if the library is not recent enough.

If you are worried about a broken installer overwriting newer versions of binary compatible libraries then don't use shared system libraries: install a private set.