mirror of https://gitlab.com/ita1024/waf.git
Uninitialized variables when qt options are not used
This commit is contained in:
parent
e414ad08fd
commit
e66cf563ce
|
@ -161,6 +161,7 @@ class qxx(Task.classes['cxx']):
|
||||||
return tsk
|
return tsk
|
||||||
|
|
||||||
def moc_h_ext(self):
|
def moc_h_ext(self):
|
||||||
|
ext = []
|
||||||
try:
|
try:
|
||||||
ext = Options.options.qt_header_ext.split()
|
ext = Options.options.qt_header_ext.split()
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|
|
@ -202,6 +202,7 @@ class qxx(Task.classes['cxx']):
|
||||||
delattr(self, 'cache_sig')
|
delattr(self, 'cache_sig')
|
||||||
|
|
||||||
def moc_h_ext(self):
|
def moc_h_ext(self):
|
||||||
|
ext = []
|
||||||
try:
|
try:
|
||||||
ext = Options.options.qt_header_ext.split()
|
ext = Options.options.qt_header_ext.split()
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|
Loading…
Reference in New Issue