Setting application info in a Qt executable file on Windows

后端 未结 2 1225
执念已碎
执念已碎 2020-11-27 02:36

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

2条回答
  •  情话喂你
    2020-11-27 03:10

    Okay, two years after being asked... but maybe somebody will find it useful...

    Try to use the following qmake variables:

    VERSION = 0.4.0.1
    QMAKE_TARGET_COMPANY = company
    QMAKE_TARGET_PRODUCT = product
    QMAKE_TARGET_DESCRIPTION = description
    QMAKE_TARGET_COPYRIGHT = copyright
    

    More info here.

提交回复
热议问题