Make sure lupdate is explicitly required

This commit is contained in:
Thomas Nagy 2020-09-19 08:40:44 +02:00
parent 6fba8d3742
commit 3b41d92e3c
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ def configure(conf):
conf.load('compiler_cxx qt5 waf_unit_test')
#conf.env.append_value('CXXFLAGS', ['-g']) # test
if not conf.env.QT_LUPDATE:
# While qt5 detects most Qt tools, most of them are optional
conf.fatal('lupdate was not found')
# These tests would run on Ubuntu but not on other platforms
conf.check(
define_name = 'XYZ_QT5_TESTS',