From 86b71fc5fd6ca9cf201d67d737c67a0267c2ad32 Mon Sep 17 00:00:00 2001 From: silverqx Date: Sun, 16 Jun 2024 16:21:20 +0200 Subject: [PATCH] qmake ccache redirected outputs to NUL --- qmake/features/private/tiny_ccache_version.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmake/features/private/tiny_ccache_version.prf b/qmake/features/private/tiny_ccache_version.prf index b25f65f74..ad0d105c9 100644 --- a/qmake/features/private/tiny_ccache_version.prf +++ b/qmake/features/private/tiny_ccache_version.prf @@ -21,7 +21,7 @@ defineTest(tiny_should_disable_precompile_headers) { # w/o it the exit code is 1). In this case don't disable PCH and even don't cache # the TINY_CCACHE_VERSION because the build is gona to fail and we don't want to # cache a wrong value - !system("ccache --version"): \ + !system("ccache --version 1>$$QMAKE_SYSTEM_NULL_DEVICE 2>$$QMAKE_SYSTEM_NULL_DEVICE"): \ return(false) exitCode = 1