summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BuildTools/SCons/SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 16f1953..ac4d003 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -613,7 +613,10 @@ try :
myenv = env.Clone()
myenv.Tool("qt4", toolpath = ["#/BuildTools/SCons/Tools"])
env["HAVE_QT"] = True
-except :
+except SCons.Errors.StopError:
+ env["HAVE_QT"] = False
+except Exception as e:
+ print "Info: %s" % str(e)
env["HAVE_QT"] = False
################################################################################