forked from qt-creator/qt-creator
QMake: Use FilePath for sysroot
Less roundtrips. Change-Id: I0f98629398170f5d1d4ccd60cfaa0d54f8e2b9f3 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -851,7 +851,7 @@ QtSupport::ProFileReader *QmakeBuildSystem::createProFileReader(const QmakeProFi
|
||||
qmakeArgs = bc->configCommandLineArguments();
|
||||
|
||||
QtSupport::QtVersion *qtVersion = QtSupport::QtKitAspect::qtVersion(k);
|
||||
m_qmakeSysroot = SysRootKitAspect::sysRoot(k).toString();
|
||||
m_qmakeSysroot = SysRootKitAspect::sysRoot(k);
|
||||
|
||||
if (qtVersion && qtVersion->isValid()) {
|
||||
m_qmakeGlobals->qmake_abslocation =
|
||||
@@ -905,7 +905,7 @@ QMakeVfs *QmakeBuildSystem::qmakeVfs()
|
||||
return m_qmakeVfs;
|
||||
}
|
||||
|
||||
QString QmakeBuildSystem::qmakeSysroot()
|
||||
const FilePath &QmakeBuildSystem::qmakeSysroot()
|
||||
{
|
||||
return m_qmakeSysroot;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user