mirror of https://gitlab.com/ita1024/waf.git
Make sure lupdate is explicitly required
This commit is contained in:
parent
c8685cf3e2
commit
7dd713f01f
|
@ -16,6 +16,10 @@ def configure(conf):
|
||||||
conf.load('compiler_cxx qt5 waf_unit_test')
|
conf.load('compiler_cxx qt5 waf_unit_test')
|
||||||
#conf.env.append_value('CXXFLAGS', ['-g']) # 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
|
# These tests would run on Ubuntu but not on other platforms
|
||||||
conf.check(
|
conf.check(
|
||||||
define_name = 'XYZ_QT5_TESTS',
|
define_name = 'XYZ_QT5_TESTS',
|
||||||
|
|
Loading…
Reference in New Issue