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:
Oswald Buddenhagen
2012-07-06 19:27:01 +02:00
parent 9d7e5fc015
commit cfb11436bf

View File

@@ -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;
}