From 3b41d92e3ce05cb892112f7184565311f3941cba Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 19 Sep 2020 08:40:44 +0200 Subject: [PATCH] Make sure lupdate is explicitly required --- demos/qt5/wscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demos/qt5/wscript b/demos/qt5/wscript index 3931d992..6ee3289e 100644 --- a/demos/qt5/wscript +++ b/demos/qt5/wscript @@ -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',