2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 01:46:15 +01:00

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 Waf Project
parent 761ed9beda
commit a0b8f6a2a3

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)