forked from qt-creator/qt-creator
add extra warning about using non-installed prefix build of qt
Change-Id: I7c618bbac6227b372bfe966c04433a60c39932a0 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -390,6 +390,10 @@ QStringList BaseQtVersion::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.");
|
||||
if (m_versionInfo.value(QLatin1String("QT_INSTALL_PREFIX/get"))
|
||||
!= m_versionInfo.value(QLatin1String("QT_INSTALL_PREFIX"))) {
|
||||
ret << QCoreApplication::translate("QtVersion", "Non-installed -prefix build - for internal development only.");
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user