Revert "enabling building gui"

This reverts commit 3568b29524.
master
Luca Quartesan 2022-01-06 18:57:44 +01:00
parent a4c0d518bf
commit 49737c063f
1 changed files with 8 additions and 8 deletions

View File

@ -92,11 +92,11 @@ 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