how to add description properties
-
@Blackzero
This is only a guess, but are these kind of "properties" specified and added from a manifest file during linking? That may require MSVC/LINK (i.e. not available if you use MinGW/ld)? Alternatively they might come via an MS resource file (RC)? I think you need to discover this before you look at how to achieve it from Creator.UPDATE
Seems like it is indeed via resources/RC per https://stackoverflow.com/questions/1022449/how-to-change-an-executables-properties-windows or https://learn.microsoft.com/en-gb/windows/win32/menurc/versioninfo-resource. So I think you need to run an RC step and link the resulting RES into your executable.How you do that probably depends on whether you are qmake or cmake. That would be preferable to some step from within Creator. Not my area, someone else may help you with that.
-
This post is deleted!
-
Yes to add to @JonB:
if your project is built with a .pro file (i.e. not CMake) then you can add these lines to the .pro file:QMAKE_TARGET_COMPANY=MyMegaCorporation QMAKE_TARGET_COPYRIGHT=MyMegaCorporation
(note: only tested this with MSVC2019, don't know if they work for MinGW)
-
@Blackzero
This is only a guess, but are these kind of "properties" specified and added from a manifest file during linking? That may require MSVC/LINK (i.e. not available if you use MinGW/ld)? Alternatively they might come via an MS resource file (RC)? I think you need to discover this before you look at how to achieve it from Creator.UPDATE
Seems like it is indeed via resources/RC per https://stackoverflow.com/questions/1022449/how-to-change-an-executables-properties-windows or https://learn.microsoft.com/en-gb/windows/win32/menurc/versioninfo-resource. So I think you need to run an RC step and link the resulting RES into your executable.How you do that probably depends on whether you are qmake or cmake. That would be preferable to some step from within Creator. Not my area, someone else may help you with that.
-
@Blackzero Then check @hskoglund 's answer.
You can also look at https://doc.qt.io/qt-6/qmake-variable-reference.html#qmake-target-description -
Yes to add to @JonB:
if your project is built with a .pro file (i.e. not CMake) then you can add these lines to the .pro file:QMAKE_TARGET_COMPANY=MyMegaCorporation QMAKE_TARGET_COPYRIGHT=MyMegaCorporation
(note: only tested this with MSVC2019, don't know if they work for MinGW)
@hskoglund yes it works
-
@Blackzero Then check @hskoglund 's answer.
You can also look at https://doc.qt.io/qt-6/qmake-variable-reference.html#qmake-target-description