summaryrefslogtreecommitdiffstats
path: root/qmake
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amir.abdol@qt.io>2023-05-05 17:34:05 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-06-08 08:13:40 +0000
commitb61d67ff61e25d478d96d5046513dddd097185ad (patch)
treec6a953811e15a5b7819cbaf66cceb9c9fe5b6ba6 /qmake
parentff469d570b697a6ba6b9f96dab42c6bd23650fe1 (diff)
Add TRY_RUN to host tools
On Windows, we will try to run our host tools after a successful build. If the build fails because of a missing DLL, we will be able to throw an error with some direction on what might be the cause, and how to resolve it. Fixes: QTBUG-113273 Change-Id: Iba548829bc41fbee95cef288faaf7edca118ee33 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 41b32cd2c4706fa280fc779d5dec132ee9edf0f6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'qmake')
-rw-r--r--qmake/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmake/CMakeLists.txt b/qmake/CMakeLists.txt
index 2c2c777b2c..abd9c84cc9 100644
--- a/qmake/CMakeLists.txt
+++ b/qmake/CMakeLists.txt
@@ -52,6 +52,7 @@ endif()
qt_get_tool_target_name(target_name qmake)
qt_internal_add_tool(${target_name}
+ TRY_RUN
TOOLS_TARGET Core
USER_FACING
NO_UNITY_BUILD