scons: fix warning on newer versions with Qt3 tool

This commit is contained in:
Adeeb Shihadeh
2023-04-23 18:02:54 -07:00
parent 453fdec8c4
commit 5c2fa5cabf

View File

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