From da4f743763ab1515e46c8919cebd174d3dc32907 Mon Sep 17 00:00:00 2001 From: Miguel Costa Date: Mon, 14 Jan 2019 14:10:53 +0100 Subject: Don't show rcc warnings when listing resources When running rcc at the start of build to list the contents of resource files, redirect stderr to null to suppress any warnings. As rcc will be invoked again as part of the actual build, this prevents the same warning messages from being shown twice (e.g. in case of an empty file). Change-Id: I149ad189e740b070f9becbbed4d8b6dae3312740 Reviewed-by: Oliver Wolff --- src/qtmsbuild/qtrcc.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtmsbuild/qtrcc.targets b/src/qtmsbuild/qtrcc.targets index 8fb6df4b..5b8e6875 100644 --- a/src/qtmsbuild/qtrcc.targets +++ b/src/qtmsbuild/qtrcc.targets @@ -67,7 +67,7 @@ + Command="%(QtRcc.QTDIR)\bin\rcc.exe --list %(QtRcc.Identity) > $(IntDir)rcc_list.txt 2> nul"/> -- cgit v1.2.3