summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-27 10:17:04 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-31 12:55:32 +0200
commitb3b1e4737808bc2f2ccaef88d133404877ebce58 (patch)
treec102293b7dfe24c7989a425aad4d384bff568933 /src
parent704e215295954fc45b4f4c3fce4ba214cf3050cb (diff)
CMake: Introduce qt_internal_add_app
This new function is meant to be used where load(qt_app) is used. It delegates functionality to qt_add_executable, while handling some additional behavior via a finalization function (mostly handling of macOS Info.plist files and icons, as well as Windows icons and resource files) It uses a new PlatformAppInternal interface target. Task-number: QTBUG-85757 Change-Id: I1a2d5851b137fcd4a6323e0e06fb154f91619800 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/Qt6CoreMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/Qt6CoreMacros.cmake b/src/corelib/Qt6CoreMacros.cmake
index 2d0aff8aff..008452ea7c 100644
--- a/src/corelib/Qt6CoreMacros.cmake
+++ b/src/corelib/Qt6CoreMacros.cmake
@@ -919,7 +919,7 @@ function(qt6_generate_win32_rc_file target)
elseif (target_version MATCHES "[0-9]+")
set(target_version "${target_version}.0.0.0")
else()
- message(FATAL_ERROR "Invalid version format")
+ message(FATAL_ERROR "Invalid version format: '${target_version}'")
endif()
set(product_version "${target_version}")
else()