Typo fixes.

pull/103/head
Jussi Pakkanen 10 years ago
parent 45d7b589eb
commit 075b25424e
  1. 2
      dependencies.py
  2. 5
      modules/qt4.py

@ -600,7 +600,7 @@ class Qt4Dependency(Dependency):
for module in mods:
self.modules.append(PkgConfigDependency('Qt' + module, kwargs))
if len(self.modules) == 0:
raise DependencyException('No Qt5 modules specified.')
raise DependencyException('No Qt4 modules specified.')
def get_version(self):
return self.modules[0].get_version()

@ -18,8 +18,7 @@ import build
from coredata import MesonException
import xml.etree.ElementTree as ET
class Qt5Module():
class Qt4Module():
def __init__(self):
mlog.log('Detecting Qt tools.')
# The binaries have different names on different
@ -152,4 +151,4 @@ class Qt5Module():
def initialize():
mlog.log('Warning, rcc dependencies will not work properly until this upstream issue is fixed:',
mlog.bold('https://bugreports.qt.io/browse/QTBUG-45460'))
return Qt5Module()
return Qt4Module()

Loading…
Cancel
Save