Commit 9efc9ce0 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

make $$_QMAKE_CACHE_ return something useful now that we support it

parent 45c358e8
...@@ -2518,7 +2518,7 @@ QStringList ProFileEvaluator::Private::values(const QString &variableName, ...@@ -2518,7 +2518,7 @@ QStringList ProFileEvaluator::Private::values(const QString &variableName,
if (variableName == QLatin1String("_PRO_FILE_PWD_")) if (variableName == QLatin1String("_PRO_FILE_PWD_"))
return QStringList(QFileInfo(m_profileStack.first()->fileName()).absolutePath()); return QStringList(QFileInfo(m_profileStack.first()->fileName()).absolutePath());
if (variableName == QLatin1String("_QMAKE_CACHE_")) if (variableName == QLatin1String("_QMAKE_CACHE_"))
return QStringList(); // FIXME? return QStringList(m_option->cachefile);
if (variableName.startsWith(QLatin1String("QMAKE_HOST."))) { if (variableName.startsWith(QLatin1String("QMAKE_HOST."))) {
QString ret, type = variableName.mid(11); QString ret, type = variableName.mid(11);
#if defined(Q_OS_WIN32) #if defined(Q_OS_WIN32)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment