From 0229219194612eff7bab0862eaa7065fde96e0c2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 May 2019 19:58:50 +0200 Subject: Fix Cocoa in Qt5 compilation --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 31187c3..8afa645 100644 --- a/wscript +++ b/wscript @@ -89,7 +89,7 @@ def configure(conf): autowaf.check_pkg(conf, 'Qt5Widgets', uselib_store='QT5', atleast_version='5.1.0', mandatory=False) if conf.check_cxx(header_name = 'QMacCocoaViewContainer', - uselib = 'QT5', + uselib = 'QT5_COCOA', mandatory = False): autowaf.define(conf, 'SUIL_WITH_COCOA_IN_QT5', 1) @@ -360,7 +360,7 @@ def build(bld): install_path = module_dir, cflags = cflags, lib = modlib, - uselib = 'QT5 QT5_MAC_EXTRAS LV2', + uselib = 'QT5 QT5_COCOA LV2', linkflags = ['-framework', 'Cocoa']) if bld.env.SUIL_WITH_X11: -- cgit v1.2.1