From 368781877e8fa91b0cdec868b0fb9a427c636ba9 Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Thu, 11 Feb 2016 15:26:06 +0100
Subject: Improve SCons reporting on missing Qt tools

This will print errors like missing Qt linguist tools.

Test-Information:

Tested on Fedora 22 and OS X 10.11.3.

Change-Id: I0817f368920b839805597d8eb2f3297b1fbd90e6

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
 
 ################################################################################
-- 
cgit v0.10.2-6-g49f6