From: Oswald Buddenhagen Date: Fri, 2 Nov 2012 18:46:19 +0000 (+0100) Subject: fix non-qmake build of the evaluator X-Git-Tag: accepted/tizen/20131212.181521~174 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=769fa282ac8a4b98698dada6969452363e0eb415;p=platform%2Fupstream%2Fqttools.git fix non-qmake build of the evaluator Change-Id: I024031a03e44151b0b350dea83bd5bae1740568f Reviewed-by: Joerg Bornemann --- diff --git a/src/linguist/shared/qmakeevaluator.cpp b/src/linguist/shared/qmakeevaluator.cpp index 486ce4c..060faf6 100644 --- a/src/linguist/shared/qmakeevaluator.cpp +++ b/src/linguist/shared/qmakeevaluator.cpp @@ -1177,7 +1177,7 @@ bool QMakeEvaluator::loadSpec() #ifndef QT_BUILD_QMAKE // Legacy support for Qt4 qmake in Qt Creator, etc. if (qmakespec.isEmpty()) - qmakespec = QLatin1String("default-host") : QLatin1String("default"); + qmakespec = m_hostBuild ? QLatin1String("default-host") : QLatin1String("default"); #endif if (IoUtils::isRelativePath(qmakespec)) { foreach (const QString &root, m_mkspecPaths) {