summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-03-18 12:00:00 +0100
committerDavid Robillard <d@drobilla.net>2017-03-18 12:00:00 +0100
commitbdcace7d0ee74bfa220827aea5262548053cb62a (patch)
treee769dd96e36063998eefa0316764b82baf4c25e3
parent27a4f3c0c58cd92f564ee57b3d9b7356d23a3136 (diff)
downloadingen-bdcace7d0ee74bfa220827aea5262548053cb62a.tar.gz
ingen-bdcace7d0ee74bfa220827aea5262548053cb62a.tar.bz2
ingen-bdcace7d0ee74bfa220827aea5262548053cb62a.zip
Use new suil init API to fix Qt5 plugin UIs
-rw-r--r--src/gui/App.cpp3
-rw-r--r--wscript2
2 files changed, 4 insertions, 1 deletions
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>
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',