Skip to content

Commit

Permalink
Fix Qt dependence to avoid errors on clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
paolafer committed Mar 8, 2024
1 parent 523e73b commit a2c5507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ if not env['LIBPATH']:
if env['QT_DIR'] == NULL_PATH:
try:
env['QT_DIR'] = os.environ['QT_DIR']
env.Append(CPPPATH = [env['QT_DIR']+'/include'])
except KeyError:
Abort('QT installation directory could not be found.')
env.Append(CPPPATH = [env['QT_DIR']+'/include'])
print('Env variable for QT installation directory could not be found. The compilation usually succeeds anyway, except for some MacOS versions.')


## ##################################################################
Expand Down

0 comments on commit a2c5507

Please sign in to comment.