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()
|
&& 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user