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:
hjk
2022-11-29 10:47:42 +01:00
parent 669242b9d8
commit f7d022009b
4 changed files with 6 additions and 9 deletions

View File

@@ -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;
}