From bdcace7d0ee74bfa220827aea5262548053cb62a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Mar 2017 12:00:00 +0100 Subject: Use new suil init API to fix Qt5 plugin UIs --- src/gui/App.cpp | 3 +++ wscript | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/App.cpp b/src/gui/App.cpp index b1c92ade..cc2ab74a 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -36,6 +36,7 @@ #include "ingen/runtime_paths.hpp" #include "lilv/lilv.h" #include "raul/Path.hpp" +#include "suil/suil.h" #include "App.hpp" #include "ConnectWindow.hpp" @@ -113,6 +114,8 @@ App::~App() SPtr App::create(Ingen::World* world) { + suil_init(&world->argc(), &world->argv(), SUIL_ARG_NONE); + // Add RC file for embedded GUI Gtk style const std::string rc_path = Ingen::data_file_path("ingen_style.rc"); Gtk::RC::add_default_file(rc_path); diff --git a/wscript b/wscript index 8b920037..cbf23a31 100644 --- a/wscript +++ b/wscript @@ -82,7 +82,7 @@ def configure(conf): autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV', atleast_version='0.21.5', mandatory=True) autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL', - atleast_version='0.2.0', mandatory=True) + atleast_version='0.8.7', mandatory=True) autowaf.check_pkg(conf, 'sratom-0', uselib_store='SRATOM', atleast_version='0.4.6', mandatory=True) autowaf.check_pkg(conf, 'raul', uselib_store='RAUL', -- cgit v1.2.1