$OpenBSD: patch-src_libs_utils_buildablehelperlibrary_cpp,v 1.4 2020/03/29 10:50:02 rsadowski Exp $

Prefer qmake-qt5 to qmake4 by removing the QDir::Reversed flag.

Index: src/libs/utils/buildablehelperlibrary.cpp
--- src/libs/utils/buildablehelperlibrary.cpp.orig
+++ src/libs/utils/buildablehelperlibrary.cpp
@@ -89,7 +89,7 @@ static FilePath findQmakeInDir(const FilePath &path)
     // Prefer qmake-qt5 to qmake-qt4 by sorting the filenames in reverse order.
     const QFileInfoList candidates = dir.entryInfoList(
                 BuildableHelperLibrary::possibleQMakeCommands(),
-                QDir::Files, QDir::Name | QDir::Reversed);
+                QDir::Files, QDir::Name);
     for (const QFileInfo &fi : candidates) {
         if (fi.fileName() == qmake)
             continue;
