diff --git a/build/SConscript.configure b/build/SConscript.configure index 9c3e26d7..fe9a2502 100644 --- a/build/SConscript.configure +++ b/build/SConscript.configure @@ -92,14 +92,14 @@ vars.Add('QTDIR', 'Qt installation directory') vars.Add('QTINCLUDE', 'Additional Qt include directory') vars.Add('INTEL_COMPILER', 'Should the Intel C++ compiler be used?') -#try: -# env = Environment(options=vars, ENV = os.environ, tools=['default', 'qt5'], toolpath=['#data/scons']) -# print 'Checking for Qt 5.x... yes' -# hasQt = True -#except Exception: -env = Environment(options=vars, ENV = os.environ, tools=['default'], toolpath=['#data/scons']) -print 'Unable to detect a Qt installation -- not building the GUI!' -hasQt = False +try: + env = Environment(options=vars, ENV = os.environ, tools=['default', 'qt5'], toolpath=['#data/scons']) + print 'Checking for Qt 5.x... yes' + hasQt = True +except Exception: + env = Environment(options=vars, ENV = os.environ, tools=['default'], toolpath=['#data/scons']) + print 'Unable to detect a Qt installation -- not building the GUI!' + hasQt = False hasCollada=True hasPython = []