scons: fix warning on newer versions with Qt3 tool
old-commit-hash: 5c2fa5cabfdcefaa36e29a83882294db5cf77564
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user