Uninitialized variables when qt options are not used

This commit is contained in:
Thomas Nagy 2015-11-16 19:30:07 +01:00
parent e414ad08fd
commit e66cf563ce
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
2 changed files with 2 additions and 0 deletions

View File

@ -161,6 +161,7 @@ class qxx(Task.classes['cxx']):
return tsk
def moc_h_ext(self):
ext = []
try:
ext = Options.options.qt_header_ext.split()
except AttributeError:

View File

@ -202,6 +202,7 @@ class qxx(Task.classes['cxx']):
delattr(self, 'cache_sig')
def moc_h_ext(self):
ext = []
try:
ext = Options.options.qt_header_ext.split()
except AttributeError: