From a0b8f6a2a39e6a25af4e3775c750b54739f62a02 Mon Sep 17 00:00:00 2001 From: Federico Pellegrin Date: Sat, 9 Mar 2024 10:04:54 +0000 Subject: [PATCH] qt5: Revert pattern matching libraries as that breaks libs like QtX3D --- waflib/Tools/qt5.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waflib/Tools/qt5.py b/waflib/Tools/qt5.py index 6cfc4271..071d16ba 100644 --- a/waflib/Tools/qt5.py +++ b/waflib/Tools/qt5.py @@ -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\\w+)' + '$') + re_qt = re.compile(pat % 'Qt6?(?P\\w+)' + '$') else: - re_qt = re.compile(pat % 'Qt5?(?!\\d)(?P\\w+)' + '$') + re_qt = re.compile(pat % 'Qt5?(?P\\w+)' + '$') for x in sorted(dirlst): m = re_qt.match(x)