scons: fix warning on newer versions with Qt3 tool

old-commit-hash: 5c2fa5cabfdcefaa36e29a83882294db5cf77564
This commit is contained in:
Adeeb Shihadeh
2023-04-23 18:02:54 -07:00
parent 51e624c1b9
commit 3b66b10022

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: