From: Stefan Bund Date: Tue, 13 Jul 2010 07:04:04 +0000 (+0200) Subject: Remove QTDIR autodetect warning X-Git-Url: http://g0dil.de/git?p=qtscons.git;a=commitdiff_plain;h=341156fd382763920d03bb657fcbad093dc53cf1 Remove QTDIR autodetect warning --- diff --git a/qt4.py b/qt4.py index d738e9e..fd84d8b 100644 --- a/qt4.py +++ b/qt4.py @@ -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(