Detect qt5 libraries in alphabetical order

This commit is contained in:
Thomas Nagy 2021-12-08 02:18:15 +01:00
parent 0c7229c808
commit 5bfce4a87e
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ def set_qt5_libs_to_check(self):
if Utils.unversioned_sys_platform() == 'darwin': if Utils.unversioned_sys_platform() == 'darwin':
pat = r"%s\.framework" pat = r"%s\.framework"
re_qt = re.compile(pat % 'Qt5?(?P<name>\\w+)' + '$') re_qt = re.compile(pat % 'Qt5?(?P<name>\\w+)' + '$')
for x in dirlst: for x in sorted(dirlst):
m = re_qt.match(x) m = re_qt.match(x)
if m: if m:
self.qt5_vars.append("Qt5%s" % m.group('name')) self.qt5_vars.append("Qt5%s" % m.group('name'))