diff --git a/configure.pri b/configure.pri index 0b6f9fd1b2e739f89d77ea4edd1865f0af59d167..1765e32e38ce433474a6a74d929c0fc73bfdf46a 100644 --- a/configure.pri +++ b/configure.pri @@ -148,7 +148,7 @@ defineTest(qtConfTest_embedded) { } defineTest(qtConfTest_detectIcuuc) { - pkgConfig = $$first($$list($$pkgConfigExecutable())) + pkgConfig = $$qtConfPkgConfig() !isEmpty(pkgConfig) { qtRunLoggedCommand("$$pkgConfig --libs --static libxml-2.0", xmllibs) contains(xmllibs,".*-licuuc.*"):return(true)