Commit 2e22ba59 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

recognize backslashes when evaluating a feature file's relativity

this is an utterly irrelevant non-feature, but whatever.
parent f8bc1290
......@@ -3028,7 +3028,8 @@ bool ProFileEvaluator::Private::evaluateFeatureFile(const QString &fileName)
if (!fn.endsWith(QLatin1String(".prf")))
fn += QLatin1String(".prf");
if (!fileName.contains((ushort)'/') || !IoUtils::exists(resolvePath(fn))) {
if ((!fileName.contains((ushort)'/') && !fileName.contains((ushort)'\\'))
|| !IoUtils::exists(resolvePath(fn))) {
if (m_option->feature_roots.isEmpty())
m_option->feature_roots = qmakeFeaturePaths();
int start_root = 0;
Supports Markdown
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