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