X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fgui%2FMainwindow.cxx;fp=src%2Fgui%2FMainwindow.cxx;h=2036c486b705bb872ba51e037deeb3bb1cfb649b;hp=47c78858e46314efbe448a1d185b1f7377e8e3d2;hb=b99a252c3503b095b6111b59b11a6659e42205c8;hpb=ae7b9847b80153121fbc1f87e4fdc1dd0e94f4cc diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 47c7885..2036c48 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -40,7 +40,10 @@ Mainwindow::Mainwindow(InformationManager* mgr) QMenu* interpretermenu = menuBar()->addMenu(tr("&Interpreter")); - interpreter["GUILE"] = new GuileInterpreter; + QPluginLoader* loader = new QPluginLoader("libguilePlugin", this); + if (!loader->load()) + LOG4CXX_ERROR(logger, "Loading plugin failed: " << loader->errorString().toStdString()); + interpreter["GUILE"] = qobject_cast(loader->instance()); scripting = new ScriptingDock(interpreter["GUILE"], tr("Scripting"), this); scripting->setAllowedAreas(Qt::BottomDockWidgetArea); addDockWidget(Qt::BottomDockWidgetArea, scripting);