From b8311d8e50ee85534d4a7104c9a9a410f263e087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Tue, 2 Jan 2024 11:36:59 -0500 Subject: [PATCH] [vst] Fix that detection was broken in Qt 6.5+ --- src/plugins/score-plugin-vst/Vst/ApplicationPlugin.cpp | 2 +- src/plugins/score-plugin-vst3/Vst3/ApplicationPlugin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/score-plugin-vst/Vst/ApplicationPlugin.cpp b/src/plugins/score-plugin-vst/Vst/ApplicationPlugin.cpp index 277c108733..5af239b3c9 100644 --- a/src/plugins/score-plugin-vst/Vst/ApplicationPlugin.cpp +++ b/src/plugins/score-plugin-vst/Vst/ApplicationPlugin.cpp @@ -62,7 +62,7 @@ ApplicationPlugin::ApplicationPlugin(const score::ApplicationContext& app) qRegisterMetaType>(); #if QT_CONFIG(process) - m_wsServer.listen({}, 37587); + m_wsServer.listen(QHostAddress::LocalHost, 37587); con(m_wsServer, &QWebSocketServer::newConnection, this, [this] { QWebSocket* ws = m_wsServer.nextPendingConnection(); if(!ws) diff --git a/src/plugins/score-plugin-vst3/Vst3/ApplicationPlugin.cpp b/src/plugins/score-plugin-vst3/Vst3/ApplicationPlugin.cpp index 184a71c871..78c6315489 100644 --- a/src/plugins/score-plugin-vst3/Vst3/ApplicationPlugin.cpp +++ b/src/plugins/score-plugin-vst3/Vst3/ApplicationPlugin.cpp @@ -96,7 +96,7 @@ ApplicationPlugin::ApplicationPlugin(const score::ApplicationContext& ctx) qRegisterMetaType>(); #if QT_CONFIG(process) - m_wsServer.listen({}, 37588); + m_wsServer.listen(QHostAddress::LocalHost, 37588); con(m_wsServer, &QWebSocketServer::newConnection, this, [this] { QWebSocket* ws = m_wsServer.nextPendingConnection(); if(!ws)