Websockets support[solved]
-
wrote on 28 Apr 2015, 19:51 last edited by Zondar
Hello,
does WinRT support Websockets module? When I tried it said "Unknow module", although websocket shloud support all platforms according to this list http://doc.qt.io/qt-5/qtmodules.html .
Thanks in advance
-
Hi,
Which version of Qt are you using ? AFAIK, QtWebSocket is in since 5.3
-
wrote on 30 Apr 2015, 05:05 last edited by
Hi,
I am using Qt 5.4.1. It works perfectly on Android, iOS as well as on Windows, but when I switch compiler to WinRT(arm) it says "Unknown module QT: websockets".
-
Did you check if you have the module in the WinRT directory tree ?
-
wrote on 1 May 2015, 09:39 last edited by Zondar 5 Jan 2015, 09:45
I checked it and I don't have websockets in WinRT . I copied Websockets, I will just have to test it.
-
wrote on 1 May 2015, 10:40 last edited by Zondar 5 Jan 2015, 10:40
After copying I tried to build it and I got LINK : fatal error LNK1181: cannot open input file 'Qt5WebSockets.lib'.
-
Did you rebuild the module ?
-
wrote on 2 May 2015, 06:40 last edited by
I am quite a newbie, so could you please describe to me how to rebuild module?
-
You can open the project in Qt Creator or use the classic qmake + nmake
-
wrote on 2 May 2015, 21:04 last edited by
So I just open my project and rebuild it?
-
Sorry, I meant the qtwebsockets module project file
-
wrote on 2 May 2015, 21:09 last edited by Zondar 5 Feb 2015, 21:53
Sorry for my ignorance, but have I download the source code with git?
-
You can also get them from the installer
-
wrote on 3 May 2015, 07:28 last edited by
I download everything through installer, but i can't find the project file.
-
You don't have them in the qtwebsocket folder ?
-
wrote on 4 May 2015, 08:54 last edited by
Well I have sources, but project file is not there and sources are everywhere except Windows phone arm.
-
That sounds strange, if you can't compile the sources you get from the installer then just clone the qtwebsocket from code.qt.io
-
wrote on 7 May 2015, 13:11 last edited by
When I try to clone repository I get.
http://ctrlv.cz/Xhhn -
IIRC there was some problem of server accessibility can you retry ?
-
wrote on 9 May 2015, 16:49 last edited by
I managed to download sources and I have found project file as well. Now I just open it in Qt creator and build it with WinRT kit?
3/35