Support LV2 with MSVC (#5730)

This commit is contained in:
Dominic Clark
2020-10-31 13:28:18 +00:00
committed by GitHub
parent 6a78d8d535
commit 615d36b08b
7 changed files with 37 additions and 11 deletions

View File

@@ -35,6 +35,9 @@
extern "C"
{
Plugin::Descriptor PLUGIN_EXPORT lv2effect_plugin_descriptor =
{
STRINGIFY(PLUGIN_NAME),
@@ -49,6 +52,8 @@ Plugin::Descriptor PLUGIN_EXPORT lv2effect_plugin_descriptor =
new Lv2SubPluginFeatures(Plugin::Effect)
};
}

View File

@@ -41,6 +41,9 @@
extern "C"
{
Plugin::Descriptor PLUGIN_EXPORT lv2instrument_plugin_descriptor =
{
STRINGIFY(PLUGIN_NAME),
@@ -55,6 +58,8 @@ Plugin::Descriptor PLUGIN_EXPORT lv2instrument_plugin_descriptor =
new Lv2SubPluginFeatures(Plugin::Instrument)
};
}
@@ -221,7 +226,7 @@ Lv2InsView::Lv2InsView(Lv2Instrument *_instrument, QWidget *_parent) :
setAutoFillBackground(true);
if (m_reloadPluginButton) {
connect(m_reloadPluginButton, &QPushButton::clicked,
this, [this](){ castModel<Lv2Instrument>()->reloadPlugin();} );
this, [this](){ this->castModel<Lv2Instrument>()->reloadPlugin();} );
}
if (m_toggleUIButton) {
connect(m_toggleUIButton, &QPushButton::toggled,