From 3568b2952421241068195f37e3a82062c615cc00 Mon Sep 17 00:00:00 2001 From: Luca Quartesan Date: Thu, 6 Jan 2022 18:04:59 +0100 Subject: [PATCH] enabling building gui --- build/SConscript.configure | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 = []