forked from qt-creator/qt-creator
*QtVersion::warningReason(): de-duplicate code
Change-Id: I08e370cd83de5ea4f4cdfc079cc908d52d81b192 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -62,14 +62,6 @@ QString EmbeddedLinuxQtVersion::type() const
|
||||
return RemoteLinux::Constants::EMBEDDED_LINUX_QT;
|
||||
}
|
||||
|
||||
QStringList EmbeddedLinuxQtVersion::warningReason() const
|
||||
{
|
||||
QStringList ret;
|
||||
if (qtAbis().count() == 1 && qtAbis().first().isNull())
|
||||
ret << QCoreApplication::translate("QtVersion", "ABI detection failed: Make sure to use a matching tool chain when building.");
|
||||
return ret;
|
||||
}
|
||||
|
||||
QList<ProjectExplorer::Abi> EmbeddedLinuxQtVersion::detectQtAbis() const
|
||||
{
|
||||
return qtAbisFromLibrary(qtCorePath(versionInfo(), qtVersionString()));
|
||||
|
||||
Reference in New Issue
Block a user