diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2019-01-29 14:40:51 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2019-01-30 08:49:15 +0000 |
commit | 6ca1681204f28f0ecfcbacc64d457593822e1520 (patch) | |
tree | 3321343409c2da0611c78f843dde8fd6ab070611 /src/plugins/platforms/webgl/qwebglintegration.h | |
parent | 845d4804905c82d76d0fed8f7d0e9ee333c32116 (diff) |
Add platform plugin parameter for websockerserver
When using the webgl backend in a container, one needs to specify the
port of the websocket server in addition to the http server.
While using QT_WEBGL_WEBSOCKETSERVER is an option, it requires to pass a
hostname in addition.
Change-Id: Iefce12f049a81711a52586d60dd34bddbb9de12e
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglintegration.h')
-rw-r--r-- | src/plugins/platforms/webgl/qwebglintegration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglintegration.h b/src/plugins/platforms/webgl/qwebglintegration.h index 856ccde..f3e22df 100644 --- a/src/plugins/platforms/webgl/qwebglintegration.h +++ b/src/plugins/platforms/webgl/qwebglintegration.h @@ -45,7 +45,7 @@ Q_DECLARE_LOGGING_CATEGORY(lcWebGL) class QWebGLIntegration : public QPlatformIntegration, public QPlatformNativeInterface { public: - QWebGLIntegration(quint16 port); + QWebGLIntegration(quint16 port, quint16 wssport); ~QWebGLIntegration(); static QWebGLIntegration *instance(); |