Anyone have an tips on setting the application info (ie. right click on .exe->properties) from Qt?
I can add arbitrary version strings to Qt resource file (qrc) and display them.
But most Windows installers check the version number and I can’t find a Qt way of setting these fields other than manually maintaining a separate .RC file
Some way that lets you update this from an automated build would also be nice!
Here’s how I do it… add a file called resources.rc to your project with the contents:
and a file called version.h with the contents:
and lastly to your .pro file, add:
RC_FILE = resources.rc. Non-Windows platforms will ignore the value so you needn’t prefix it withwin32:.