From 374bf79911c5da6cd46fbf1b959fdd7ce44bceca Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 11 Jul 2017 11:48:13 +0100 Subject: [PATCH] Fix proxy support with Qt 5.9+ --- runtime/pgAdmin4.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime/pgAdmin4.cpp b/runtime/pgAdmin4.cpp index a0dd0ab40..9054e9e65 100644 --- a/runtime/pgAdmin4.cpp +++ b/runtime/pgAdmin4.cpp @@ -241,6 +241,11 @@ int main(int argc, char * argv[]) { #if QT_VERSION >= 0x050000 QTcpSocket socket; + + #if QT_VERSION >= 0x050900 + socket.setProxy(QNetworkProxy::NoProxy); + #endif + socket.bind(0, QTcpSocket::ShareAddress); #else QUdpSocket socket;