ahmadsamir added a comment.
Hi there. Since KF5 min. supported Qt version is 5.12, you have to make the code conditional so that it still build on Qt < 5.14. (Qt 5.14 is where range-iterators-based constructors were introduced to Qt containers including QList https://doc.qt.io/qt-5/qlist.html#QList-4). For an example see: https://phabricator.kde.org/R91:202af7d3f3275c998f06fbb8f414f23215e867ef REPOSITORY R308 KRunner REVISION DETAIL https://phabricator.kde.org/D27597 To: alex, mlaurent, apol Cc: ahmadsamir, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns