qtRunLoggedCommand 在哪里定义的?

Where is qtRunLoggedCommand defined?

我经常在Qt工程文件中看到qtRunLoggedCommand的调用,但是找不到它的定义位置。任何人都可以为此函数的文档提供 link 或让我知道该函数在源代码中的定义位置吗?谢谢!

函数定义在qtbase/mkspecs/features/configure_base.prf:

defineTest(qtRunLoggedCommand) {
    qtLog("+ $")

    !equals(3, false): \
        1 = "( $ ) 2>&1"
    output = $$system("$", lines, result)
    lg =
    for (l, output): \
        lg += "> $$l"
    qtLog($$lg)
    !isEmpty(2) {
        $ = $$output
        export($)
    }

    !equals(result, 0): return(false)
    return(true)
}