Difference between revisions of "Notes on QMake variables"

From Mudlet
Jump to navigation Jump to search
(Starting some random notes about QMake variables that we might use/need/want to worry about)
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
:::Windows only. Specifies the copyright information for the project target; this is used where applicable for putting the copyright information in the application's properties. This is only utilized if the VERSION or RC_ICONS variable is set and the RC_FILE and RES_FILE variables are not set.
 
:::Windows only. Specifies the copyright information for the project target; this is used where applicable for putting the copyright information in the application's properties. This is only utilized if the VERSION or RC_ICONS variable is set and the RC_FILE and RES_FILE variables are not set.
 
:Given that we DO set '''VERSION''' and '''RC_ICON''' this might be relevant, OTOH although we do not explicitly set the '''RC_FILE''' and '''RES_FILE''' they may be generated for us - but that might be significant!
 
:Given that we DO set '''VERSION''' and '''RC_ICON''' this might be relevant, OTOH although we do not explicitly set the '''RC_FILE''' and '''RES_FILE''' they may be generated for us - but that might be significant!
 +
:A note I trimmed from the project file:
 +
::"set the Windows binary icon, the proper .ico file should contains several layers of increasing sizes: 16, 24, 32, 48, 64, 128, 256 - as well as being used for the executable application file when it is displayed in the Windows explorer it is also used in some other places (installed applications in Windows settings/control panel)" -- [[User:Slysven|slysven]] ([[User talk:Slysven|talk]]) 22:37, 16 October 2020 (UTC)

Latest revision as of 22:37, 16 October 2020

We do not currently make use QMAKE_TARGET_COPYRIGHT the Qt documentation says:

Windows only. Specifies the copyright information for the project target; this is used where applicable for putting the copyright information in the application's properties. This is only utilized if the VERSION or RC_ICONS variable is set and the RC_FILE and RES_FILE variables are not set.
Given that we DO set VERSION and RC_ICON this might be relevant, OTOH although we do not explicitly set the RC_FILE and RES_FILE they may be generated for us - but that might be significant!
A note I trimmed from the project file:
"set the Windows binary icon, the proper .ico file should contains several layers of increasing sizes: 16, 24, 32, 48, 64, 128, 256 - as well as being used for the executable application file when it is displayed in the Windows explorer it is also used in some other places (installed applications in Windows settings/control panel)" -- slysven (talk) 22:37, 16 October 2020 (UTC)