forked from qt-creator/qt-creator
use QT_HOST_* where appropriate
for x-builds, the host binaries and data may be in a different place than the ones for the target. we have fallback code for qt 4, so we can use the new variables unconditionally. this patch may be incomplete - there are still some uses which *may* need changing. Change-Id: Ia96c4ea99c5c7fc62bbe32d0283c82eef5c1eefd Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -1236,7 +1236,7 @@ QStringList QMakeEvaluator::qmakeMkspecPaths() const
|
||||
if (!m_sourceRoot.isEmpty())
|
||||
ret << m_sourceRoot + concat;
|
||||
|
||||
ret << m_option->propertyValue(ProString("QT_INSTALL_DATA")) + concat;
|
||||
ret << m_option->propertyValue(ProString("QT_HOST_DATA")) + concat;
|
||||
|
||||
ret.removeDuplicates();
|
||||
return ret;
|
||||
@@ -1280,7 +1280,7 @@ QStringList QMakeEvaluator::qmakeFeaturePaths() const
|
||||
}
|
||||
}
|
||||
|
||||
feature_bases << (m_option->propertyValue(ProString("QT_INSTALL_DATA")).toQString(m_mtmp)
|
||||
feature_bases << (m_option->propertyValue(ProString("QT_HOST_DATA")).toQString(m_mtmp)
|
||||
+ mkspecs_concat);
|
||||
|
||||
foreach (const QString &fb, feature_bases) {
|
||||
|
||||
Reference in New Issue
Block a user