aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dependencies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dependencies.py b/dependencies.py
index 96683db..7fed278 100644
--- a/dependencies.py
+++ b/dependencies.py
@@ -688,7 +688,7 @@ class Qt5Dependency(Dependency):
if not 'version 5' in stdo:
mlog.log('QMake is not for Qt5.')
return
- self.version = re.search('5(\.\d+)+', stdo).match(0)
+ self.version = re.search('5(\.\d+)+', stdo).group(0)
(stdo, _) = subprocess.Popen(['qmake', '-query'], stdout=subprocess.PIPE).communicate()
qvars = {}
for line in stdo.decode().split('\n'):