Windows: Automatically set metadata for all Qt apps
Move the logic to set default values for VERSION, QMAKE_TARGET_DESCRIPTION to qt_app.prf. This way, a lot more executables get sane defaults. Change-Id: I8394418c118a8877cec792eddc8894397c0fbf2d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
parent
79737d03bc
commit
6b7b37cf2e
@ -14,6 +14,10 @@ TEMPLATE = app
|
||||
load(qt_build_paths)
|
||||
DESTDIR = $$MODULE_BASE_OUTDIR/bin
|
||||
|
||||
isEmpty(VERSION): VERSION = $$MODULE_VERSION
|
||||
isEmpty(QMAKE_TARGET_DESCRIPTION): \
|
||||
QMAKE_TARGET_DESCRIPTION = "Qt $$title($$TARGET)"
|
||||
|
||||
isEmpty(QMAKE_INFO_PLIST): CONFIG -= app_bundle
|
||||
|
||||
# This decreases the binary size for tools if statically linked
|
||||
|
@ -10,9 +10,6 @@
|
||||
#
|
||||
|
||||
CONFIG += no_launch_target
|
||||
isEmpty(VERSION): VERSION = $$MODULE_VERSION
|
||||
isEmpty(QMAKE_TARGET_DESCRIPTION): \
|
||||
QMAKE_TARGET_DESCRIPTION = "Qt $$title($$TARGET)"
|
||||
load(qt_app)
|
||||
|
||||
CONFIG += console
|
||||
|
Loading…
Reference in New Issue
Block a user