get rid of the QTDIR path detection warning
parent
96bc8e0422
commit
20c5a58cf4
|
@ -203,9 +203,9 @@ def _detect(env):
|
|||
moc = env.WhereIs('moc-qt4') or env.WhereIs('moc4') or env.WhereIs('moc')
|
||||
if moc:
|
||||
QTDIR = os.path.dirname(os.path.dirname(moc))
|
||||
SCons.Warnings.warn(
|
||||
QtdirNotFound,
|
||||
"QTDIR variable is not defined, using moc executable as a hint (QTDIR=%s)" % QTDIR)
|
||||
#SCons.Warnings.warn(
|
||||
# QtdirNotFound,
|
||||
# "QTDIR variable is not defined, using moc executable as a hint (QTDIR=%s)" % QTDIR)
|
||||
return QTDIR
|
||||
|
||||
raise SCons.Errors.StopError(
|
||||
|
|
Loading…
Reference in New Issue