qt5: Revert pattern matching libraries as that breaks libs like QtX3D

This commit is contained in:
Federico Pellegrin 2024-03-09 10:04:54 +00:00 committed by ita1024
parent f95b42651e
commit aff9ec24a6
1 changed files with 2 additions and 2 deletions

View File

@ -858,9 +858,9 @@ def set_qt5_libs_to_check(self):
# and reduces the chattiness of the configuration. Should also prevent
# possible misconfiguration.
if self.want_qt6:
re_qt = re.compile(pat % 'Qt6?(?!\\d)(?P<name>\\w+)' + '$')
re_qt = re.compile(pat % 'Qt6?(?P<name>\\w+)' + '$')
else:
re_qt = re.compile(pat % 'Qt5?(?!\\d)(?P<name>\\w+)' + '$')
re_qt = re.compile(pat % 'Qt5?(?P<name>\\w+)' + '$')
for x in sorted(dirlst):
m = re_qt.match(x)