enabling building gui

master
Luca Quartesan 2022-01-06 18:04:59 +01:00
parent 3435540b4e
commit 3568b29524
1 changed files with 8 additions and 8 deletions

View File

@ -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 = []