Commit 4da647ea authored by Fawzi Mohamed's avatar Fawzi Mohamed

baseqtversion: use environment in ensureMkSpecParsed

Task-number: QTCREATORBUG-10695
Change-Id: I4a61cc03f0aa978d07d48e8f56f032a7a666879b
Reviewed-by: default avatarDavid Kaspar <dkaspar@blackberry.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent fa6a35b0
......@@ -796,6 +796,7 @@ void BaseQtVersion::ensureMkSpecParsed() const
QMakeVfs vfs;
ProFileGlobals option;
option.setProperties(versionInfo());
option.environment = qmakeRunEnvironment().toProcessEnvironment();
ProMessageHandler msgHandler(true);
ProFileCacheManager::instance()->incRefCount();
QMakeParser parser(ProFileCacheManager::instance()->cache(), &vfs, &msgHandler);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment