diff options
Diffstat (limited to 'SCons/Tool/qt.py')
-rw-r--r-- | SCons/Tool/qt.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SCons/Tool/qt.py b/SCons/Tool/qt.py index 494fab00f..ff995657d 100644 --- a/SCons/Tool/qt.py +++ b/SCons/Tool/qt.py @@ -38,6 +38,7 @@ import SCons.Scanner import SCons.Tool import SCons.Util import SCons.Tool.cxx +import SCons.Warnings cplusplus = SCons.Tool.cxx class ToolQtWarning(SCons.Warnings.SConsWarning): @@ -270,6 +271,10 @@ def generate(env): Action = SCons.Action.Action Builder = SCons.Builder.Builder + SCons.Warnings.warn( + SCons.Warnings.ToolQtDeprecatedWarning, "Tool module for Qt version 3 is deprecated" + ) + env.SetDefault(QTDIR = _detect(env), QT_BINPATH = os.path.join('$QTDIR', 'bin'), QT_CPPPATH = os.path.join('$QTDIR', 'include'), |