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('QTINCLUDE', 'Additional Qt include directory')
vars.Add('INTEL_COMPILER', 'Should the Intel C++ compiler be used?') vars.Add('INTEL_COMPILER', 'Should the Intel C++ compiler be used?')
#try: try:
# env = Environment(options=vars, ENV = os.environ, tools=['default', 'qt5'], toolpath=['#data/scons']) env = Environment(options=vars, ENV = os.environ, tools=['default', 'qt5'], toolpath=['#data/scons'])
# print 'Checking for Qt 5.x... yes' print 'Checking for Qt 5.x... yes'
# hasQt = True hasQt = True
#except Exception: except Exception:
env = Environment(options=vars, ENV = os.environ, tools=['default'], toolpath=['#data/scons']) env = Environment(options=vars, ENV = os.environ, tools=['default'], toolpath=['#data/scons'])
print 'Unable to detect a Qt installation -- not building the GUI!' print 'Unable to detect a Qt installation -- not building the GUI!'
hasQt = False hasQt = False
hasCollada=True hasCollada=True
hasPython = [] hasPython = []