resolve private dependencies of tools as well

Change-Id: I25c73661489f0a6e6ecf3bb423cdae6435221e25
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Oswald Buddenhagen 2012-11-30 21:09:46 +01:00 committed by The Qt Project
parent 716d33d2a7
commit b1ff4712f2

View File

@ -227,7 +227,8 @@ defineTest(qtAddToolEnv) {
}
defineTest(qtAddTargetEnv) {
deps = $$resolve_depends(QT, "QT.")
deps = $$replace(QT, -private$, )
deps = $$resolve_depends(deps, "QT.")
!isEmpty(deps) {
for(dep, deps) {
deppath += $$shell_path($$eval(QT.$${dep}.libs))