Important: Please read the Qt Code of Conduct -

whats wrong?QWebsocket &QWebSocket::textMessageReceived signal twice reapeat?

  • I use QWebsocket connect a QWebsocketServer.and with the signal &QWebSocket::textMessageReceived and its related slots receive the text message,but when every triger,i always get the same text twice,and more add the flag Qt::UniqueConnection not work.why? Q5.5.1 win7
    any help thank

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Without any code it's only guess work.

    By the way, Qt 5.5.1 is really outdated, you should consider updating to 5.12.4 which is the current LTS if not 5.13.

Log in to reply