scons: fix warning on newer versions with Qt3 tool

pull/28008/head
Adeeb Shihadeh 2 years ago
parent 453fdec8c4
commit 5c2fa5cabf
  1. 2
      SConstruct

@ -314,7 +314,9 @@ else:
qt_env.PrependENVPath('PATH', Dir("#third_party/qt5/larch64/bin/").abspath) qt_env.PrependENVPath('PATH', Dir("#third_party/qt5/larch64/bin/").abspath)
elif arch != "Darwin": elif arch != "Darwin":
qt_libs += ["GL"] qt_libs += ["GL"]
qt_env['QT3DIR'] = qt_env['QTDIR']
# compatibility for older SCons versions
try: try:
qt_env.Tool('qt3') qt_env.Tool('qt3')
except SCons.Errors.UserError: except SCons.Errors.UserError:

Loading…
Cancel
Save