summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNils Jeisecke <nils.jeisecke@saltation.com>2020-11-02 17:43:16 +0100
committerNils Jeisecke <nils.jeisecke@saltation.com>2020-11-02 17:53:00 +0100
commited8fe2b34712e70becaae29520afdc8e56addf35 (patch)
tree4e5dd5990949a2e6f79c265ac5022c5da8fb1e6e
parent8618813a60e4f15a104ce5127c01810a35440c30 (diff)
Fix QtWebEngineProcess.exe build on windows to include version resources
In 5.12.x build the .exe version resources are still present. The version meta data is important for MSI based installers. Without this information an uprade for a Qt 5.12 based application to 5.15 will most likely fail. Also the version information contains copyright information of the Qt Company. [ChangeLog][QtWebEngineProcess] Fix missing version resources in QtWebEngineProcess.exe. Fixes: QTBUG-88110 Change-Id: I965da2db78dbf74ff93e1975c0622edc7c404bc2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--src/process/process.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process/process.pro b/src/process/process.pro
index a28267ee9..7786290fb 100644
--- a/src/process/process.pro
+++ b/src/process/process.pro
@@ -44,6 +44,9 @@ win32 {
TEMPLATE = app
+# On Windows this triggers file versioning of QtWebEngineProcess.exe
+VERSION = $$MODULE_VERSION
+
load(qt_build_paths)
!build_pass:qtConfig(debug_and_release): CONFIG += release