Websockets support[solved]
-
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
-
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 ?
-
I checked it and I don't have websockets in WinRT . I copied Websockets, I will just have to test it.
-
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 ?
-
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
-
So I just open my project and rebuild it?
-
Sorry, I meant the qtwebsockets module project file
-
Sorry for my ignorance, but have I download the source code with git?
-
You can also get them from the installer
-
I download everything through installer, but i can't find the project file.
-
You don't have them in the qtwebsocket folder ?
-
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
-
When I try to clone repository I get.
http://ctrlv.cz/Xhhn -
IIRC there was some problem of server accessibility can you retry ?
-
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?