forked from qt-creator/qt-creator
QtSupport: Pass empty device root for local Qt
Fixes: QTCREATORBUG-28680 Change-Id: Id90b6b9427d4b85ebc4e9f097dfdd996062d4c85 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1123,7 +1123,8 @@ void QtVersion::ensureMkSpecParsed() const
|
||||
Environment env = d->m_qmakeCommand.deviceEnvironment();
|
||||
setupQmakeRunEnvironment(env);
|
||||
option.environment = env.toProcessEnvironment();
|
||||
option.device_root = d->m_qmakeCommand.withNewPath("/").toFSPathString();
|
||||
if (d->m_qmakeCommand.needsDevice())
|
||||
option.device_root = d->m_qmakeCommand.withNewPath("/").toFSPathString(); // Empty for host!
|
||||
ProMessageHandler msgHandler(true);
|
||||
ProFileCacheManager::instance()->incRefCount();
|
||||
QMakeParser parser(ProFileCacheManager::instance()->cache(), &vfs, &msgHandler);
|
||||
|
Reference in New Issue
Block a user