set.insert(qfile);
}
- // remove duplicates
- return QList<QString>::fromSet(set);
+ // remove duplicates
+#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
+ return QList<QString>(set.begin(), set.end());
+#else
+ return QList<QString>::fromSet(set);
+#endif
}
QString const externalLineEnding(docstring const & str)
/** Given a string such as
* "<glob> <glob> ... *.{abc,def} <glob>",
- * convert the csh-style brace expresions:
+ * convert the csh-style brace expressions:
* "<glob> <glob> ... *.abc *.def <glob>".
* Requires no system support, so should work equally on Unix, Mac, Win32.
*/