summaryrefslogtreecommitdiffstats
path: root/src/tools/uic
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amir.abdol@qt.io>2023-05-05 17:34:05 +0200
committerAmir Masoud Abdol <amir.abdol@qt.io>2023-06-08 05:09:00 +0000
commit41b32cd2c4706fa280fc779d5dec132ee9edf0f6 (patch)
treed4441d87bac1c1a9954b718b0569751568e26969 /src/tools/uic
parentf34c5215f45a242962835c1174d79912a56e5410 (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. Pick-to: 6.5 6.6 Fixes: QTBUG-113273 Change-Id: Iba548829bc41fbee95cef288faaf7edca118ee33 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/tools/uic')
-rw-r--r--src/tools/uic/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/uic/CMakeLists.txt b/src/tools/uic/CMakeLists.txt
index 9f9ea93bea..48c1a53546 100644
--- a/src/tools/uic/CMakeLists.txt
+++ b/src/tools/uic/CMakeLists.txt
@@ -7,6 +7,7 @@
qt_get_tool_target_name(target_name uic)
qt_internal_add_tool(${target_name}
+ TRY_RUN
TARGET_DESCRIPTION "Qt User Interface Compiler"
INSTALL_DIR "${INSTALL_LIBEXECDIR}"
TOOLS_TARGET Widgets