Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. whats wrong?QWebsocket &QWebSocket::textMessageReceived signal twice reapeat?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
qwebsocket
2 Posts 2 Posters 448 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zyqter
    wrote on 29 Jul 2019, 08:27 last edited by zyqter
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 29 Jul 2019, 20:00 last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      29 Jul 2019, 08:27

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved