Qt IFW : executable details / properties
-
Hello,
Using Qt Intaller Framework 3, is there a way to set the built executable details. Those that can be shown with a right click on the executable, then "Properties" and "Details" tab. I would have expect the "Name" and "Version" set in the config.xml file to be set in "Product name" and "Product version".
Thanks for your help.
-
I am most interested in that as well.
See also here: https://forum.qt.io/topic/93883/qtif-adding-version-info-in-windows -
Hello,
Using Qt Intaller Framework 3, is there a way to set the built executable details. Those that can be shown with a right click on the executable, then "Properties" and "Details" tab. I would have expect the "Name" and "Version" set in the config.xml file to be set in "Product name" and "Product version".
Thanks for your help.
As suggested here or here you can set properties to your executable.
I tried and works fine for me.
Steps followed:
1: Make a empty .rc file and copy paste the contents .
2: Copy the .rc file on the project folder.
3: Add thewin32:RC_FILE = Details.rc
in the .pro file
4: Rebuild the application and check the details tab. -
Can you give an pro-file example? I have a version.h. I tried your suggestion, but it does not work.
I tried it with an Qt installer example.TEMPLATE = aux INSTALLER = installer INPUT = $$PWD/config/config.xml $$PWD/packages $$PWD/resources example.input = INPUT example.output = $$INSTALLER example.commands = ../../bin/binarycreator -c $$PWD/config/config.xml -r $$PWD/resources/additional.qrc -p $$PWD/packages ${QMAKE_FILE_OUT} example.CONFIG += target_predeps no_link combine QMAKE_EXTRA_COMPILERS += example OTHER_FILES = README win32:RC_FILE += "$$PWD/resources/res.rc"
-
Thanks for your answer Ratzz.
I actually want the output of QtIFW to have the details. I thinks that what you proposed is for the application.
May be that is not possible with QtIFW . As suggested here it can only show version in control panel.
May be you can change once you use QtIFW and use these
https://www.digitalcitizen.life/how-change-metadata-stored-executable-files
https://www.codeproject.com/Articles/37133/Simple-Version-Resource-Tool-for-Windows