Merge pull request #201 from jroivas/master

Fix regexp match for qmake version
pull/202/head
Jussi Pakkanen 10 years ago
commit 6dfce8bf0d
  1. 2
      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'):

Loading…
Cancel
Save