use qtLog() to also print command output
Change-Id: I950bc86b0b2dafcb8f2369478f391dc05280194f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
f18cc7e3cc
commit
622ab0aca5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user