Qt5 patch: make qmake look in pwd for .prf file
Only tested on OS X
git diff -p --no-ext-diff
diff --git a/qmake/library/qmakeevaluator.cpp b/qmake/library/qmakeevaluator.cpp
index e9da45c..dbe8f41 100644
--- a/qmake/library/qmakeevaluator.cpp
+++ b/qmake/library/qmakeevaluator.cpp
@@ -1475,7 +1475,11 @@ void QMakeEvaluator::updateFeaturePaths()
QStringList feature_roots;
- foreach (const QString &f, m_option->getPathListEnv(QLatin1String("QMAKEFEATURES")))
+ // JET 20160519 this makes it look in the pwd for a .pro file
+ // "works for me!"
+ feature_roots += QDir::currentPath();
+
+ foreach (const QString &f, m_option->getPathListEnv(QLatin1String("QMAKEFEATURES")))
feature_roots += f;
feature_roots += m_qmakefeatures;