forked from qt-creator/qt-creator
QtSupport: Prevent misleading message about ABI mismatch
MSVC 2015/17/19 are ABI compatible, but BaseQtVersion::validateKit() would emit a warning when using e.g. a Qt MSVC 2017 build with an MSVC 2019 toolchain. Change-Id: I50ba026ae7b55e052b26826076ef962f369a05a1 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
This commit is contained in:
@@ -666,6 +666,12 @@ bool Abi::isCompatibleWith(const Abi &other) const
|
||||
return isCompat;
|
||||
}
|
||||
|
||||
bool Abi::isFullyCompatibleWith(const Abi &other) const
|
||||
{
|
||||
return *this == other || (wordWidth() == other.wordWidth()
|
||||
&& compatibleMSVCFlavors(osFlavor(), other.osFlavor()));
|
||||
}
|
||||
|
||||
bool Abi::isValid() const
|
||||
{
|
||||
return m_architecture != UnknownArchitecture
|
||||
|
||||
Reference in New Issue
Block a user