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. QWebsockets not working in winrt
QtWS25 Last Chance

QWebsockets not working in winrt

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 758 Views
  • 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.
  • WouterW Offline
    WouterW Offline
    Wouter
    wrote on last edited by
    #1

    Hi all.
    I can't get QWebsockets to work on the WinRT platforms.
    If I try to run the echoclient example it fails to connect to a server.
    Kits I've tried:
    QT 5.6.0 For Windows Runtime 64 bit
    QT 5.6.0 For Windows Runtime 32 bit
    QT 5.6.0 For Windows phone arm msvc2013 32 bit
    All with the same result.
    The code is working fine in windows classic / android / ios etc (server I'm trying to reach is accepting connections).
    What could be the problem here?
    Thanks in avance.

    1 Reply Last reply
    0
    • WouterW Offline
      WouterW Offline
      Wouter
      wrote on last edited by
      #2

      Is anybody able to verify that QWebsockets in fact is working in winrt 5.6.0? Otherwise perhaps I should file a bug?

      1 Reply Last reply
      0
      • rubenvbR Offline
        rubenvbR Offline
        rubenvb
        wrote on last edited by rubenvb
        #3

        I can confirm similar issues here. Code works on Linux, Desktop Windows, but not on any winrt platform. I've tried setting the various capabilities in the appxmanifest (I think you'll need internetClientServer and/or privateNetworkClientServer, I haven't tried any others), but the code still crasher inside some CAtlException :(.

        As far as I understand the release notes, QWebSockets should work in Qt 5.6. I also tried 5.7 beta 402 to no avail...

        I'll add my 2 cents to a bug report!

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mkalinow
          wrote on last edited by
          #4

          Does that error still exist for 5.6.1? I remember some fixes in that area, which were rather generic.

          If not, please to create an actual item on JIRA, as that is easier to keep track.

          1 Reply Last reply
          0

          • Login

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