Bump Qt minimum version to 5.9 (#7204)

* bump qt minimum version to 5.9

* cleanup cmake checks

* Remove the obsoleted check.

* Missed this while removing the check.
This commit is contained in:
Rossmaxx
2024-04-18 07:21:58 +05:30
committed by GitHub
parent d5e1d9e853
commit df11a98902
5 changed files with 1 additions and 15 deletions

View File

@@ -735,14 +735,12 @@ void VstPlugin::createUI( QWidget * parent )
QWidget* container = nullptr;
#if QT_VERSION >= 0x050100
if (m_embedMethod == "qt" )
{
QWindow* vw = QWindow::fromWinId(m_pluginWindowID);
container = QWidget::createWindowContainer(vw, parent );
container->installEventFilter(this);
} else
#endif
#ifdef LMMS_BUILD_WIN32
if (m_embedMethod == "win32" )
@@ -801,7 +799,6 @@ void VstPlugin::createUI( QWidget * parent )
bool VstPlugin::eventFilter(QObject *obj, QEvent *event)
{
#if QT_VERSION >= 0x050100
if (embedMethod() == "qt" && obj == m_pluginWidget)
{
if (event->type() == QEvent::Show) {
@@ -809,7 +806,6 @@ bool VstPlugin::eventFilter(QObject *obj, QEvent *event)
}
qDebug() << obj << event;
}
#endif
return false;
}