forked from qt-creator/qt-creator
ProjectExplorer: Use FilePath in gcc toolchain
Change-Id: I2cd659dc94e0c9ee1a5f198098a3886146c3e03b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1196,8 +1196,8 @@ Toolchains GccToolChainFactory::autoDetectToolchains(
|
||||
&& HostOsInfo::isWindowsHost()
|
||||
&& !existingCommand.needsDevice()
|
||||
&& !compilerPath.needsDevice()) {
|
||||
existingTcMatches = existingCommand.toFileInfo().size()
|
||||
== compilerPath.toFileInfo().size();
|
||||
existingTcMatches = existingCommand.fileSize()
|
||||
== compilerPath.fileSize();
|
||||
}
|
||||
}
|
||||
if (existingTcMatches) {
|
||||
|
||||
Reference in New Issue
Block a user