diff options
author | David Robillard <d@drobilla.net> | 2020-04-26 21:44:09 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-04-26 21:44:33 +0200 |
commit | eee62b7f32e4ef7aaca09565fa53b54ad0815970 (patch) | |
tree | 775e52c85876c19e70a339b962d5a89271435b62 /wscript | |
parent | 3ca8969fda53f3ad0a520bccb6526c327dd151e6 (diff) | |
download | suil-eee62b7f32e4ef7aaca09565fa53b54ad0815970.tar.gz suil-eee62b7f32e4ef7aaca09565fa53b54ad0815970.tar.bz2 suil-eee62b7f32e4ef7aaca09565fa53b54ad0815970.zip |
Implement size hints for X11 in Qt5
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -107,6 +107,9 @@ def configure(conf): conf.check_pkg('Qt5Widgets >= 5.1.0', uselib_store='QT5', mandatory=False) + conf.check_pkg('Qt5X11Extras >= 5.1.0', + uselib_store='QT5_X11', + mandatory=False) if not conf.options.no_cocoa: if conf.check_cxx(header_name = 'QMacCocoaViewContainer', @@ -152,7 +155,7 @@ def configure(conf): if conf.env.HAVE_QT4: enable_module('SUIL_WITH_X11_IN_QT4') - if conf.env.HAVE_QT5: + if conf.env.HAVE_QT5 and conf.env.HAVE_QT5_X11: enable_module('SUIL_WITH_X11_IN_QT5') if conf.env.HAVE_X11: @@ -388,7 +391,7 @@ def build(bld): install_path = module_dir, cflags = cflags, lib = modlib, - uselib = 'QT5 LV2') + uselib = 'QT5 QT5_X11 LV2 X11') if bld.env.SUIL_WITH_COCOA_IN_QT5: obj = bld(features = 'cxx cxxshlib', |