use qtLog() to also print command output

Change-Id: I950bc86b0b2dafcb8f2369478f391dc05280194f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Oswald Buddenhagen 2016-08-01 13:04:12 +02:00 committed by Lars Knoll
parent f18cc7e3cc
commit 622ab0aca5

View File

@ -33,8 +33,7 @@ defineTest(qtRunLoggedCommand) {
qtLog("+ $$1")
output = $$system("( $$1 ) 2>&1", blob, result)
write_file($${QMAKE_CONFIG_LOG}, output, append)
$$QMAKE_CONFIG_VERBOSE: log($$output)
qtLog($$output)
!equals(result, 0): return(false)
return(true)