Commit 660c4ced authored by Christian Kandeler's avatar Christian Kandeler
Browse files

QbsProjectManager: Fix collecting unreferenced build system files

We cannot use std::set_difference on a QSet, because those are not

Change-Id: I6238a2bd06bcc6e5dba64572f0c3b0caaa57a7eb
Reviewed-by: Jake Petroules's avatarJake Petroules <>
parent 4b39baa8
......@@ -178,10 +178,10 @@ QStringList unreferencedBuildSystemFiles(const qbs::Project &p)
return result;
const std::set<QString> &available = p.buildSystemFiles();
const QSet<QString> &referenced = referencedBuildSystemFiles(p.projectData());
QList<QString> referenced = referencedBuildSystemFiles(p.projectData()).toList();
std::set_difference(available.begin(), available.end(), referenced.begin(), referenced.end(),
return result;
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