Document a probable cause for test failures.

This commit is contained in:
Jussi Pakkanen 2024-04-09 23:14:20 +03:00
parent e25b61b5c2
commit bf00ca69b5
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ foreach qt : ['qt4', 'qt5', 'qt6']
qtdep = dependency(qt, modules : qt_modules, main : true, private_headers: true, required : required, method : get_option('method'))
if qtdep.found()
qtmodule = import(qt)
assert(qtmodule.has_tools())
assert(qtmodule.has_tools(), 'You may be missing a devel package. (qttools5-dev-tools on Debian based systems)')
# Test that fetching a variable works and yields a non-empty value
assert(qtdep.get_variable('prefix', configtool: 'QT_INSTALL_PREFIX') != '')