diff --git a/scripts/shiboken2tasks.py b/scripts/shiboken2tasks.py index 024f53cd15c..9465ad7f786 100755 --- a/scripts/shiboken2tasks.py +++ b/scripts/shiboken2tasks.py @@ -36,7 +36,8 @@ import re if __name__ == '__main__': # qt.shiboken: () ::[:] text - pattern = re.compile(r'^qt\.shiboken: \(([^)]+)\) ([^:]+):(\d+):(?:\d+:)? (.*)$') + # file might be c:\ on Windows + pattern = re.compile(r'^qt\.shiboken: \(([^)]+)\) (..[^:]+):(\d+):(?:\d+:)? (.*)$') while True: line = sys.stdin.readline() if not line: