ProjectExplorer: Use FilePath in gcc toolchain

Change-Id: I2cd659dc94e0c9ee1a5f198098a3886146c3e03b
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2022-10-14 09:54:39 +02:00
parent 45ec26783f
commit 2fd4be4603

View File

@@ -1196,8 +1196,8 @@ Toolchains GccToolChainFactory::autoDetectToolchains(
&& HostOsInfo::isWindowsHost() && HostOsInfo::isWindowsHost()
&& !existingCommand.needsDevice() && !existingCommand.needsDevice()
&& !compilerPath.needsDevice()) { && !compilerPath.needsDevice()) {
existingTcMatches = existingCommand.toFileInfo().size() existingTcMatches = existingCommand.fileSize()
== compilerPath.toFileInfo().size(); == compilerPath.fileSize();
} }
} }
if (existingTcMatches) { if (existingTcMatches) {