Websockets support[solved]
-
That I understood, my question was: what errors are you getting when building ?
-
I am getting http://ctrlv.cz/Xe5c
-
Looks like you don't have perl installed on your system or is it Qt Creator that doesn't find it ?
If you have perl, what version is it ?
-
Do you have more details about the perl error ?
-
Use of uninitialized value $val in string eq at C:\Qt5\5.4\winphone_arm\bin\sync
qt.pl line 727.
Use of uninitialized value $val in string eq at C:\Qt5\5.4\winphone_arm\bin\sync
qt.pl line 729.
Use of uninitialized value $val in int at C:\Qt5\5.4\winphone_arm\bin\syncqt.pl
line 732.
No such module: QtWebsocket at C:\Qt5\5.4\winphone_arm\bin\syncqt.pl line 817.It might could be caused by, that QtWebsockets are not listed in some variable, which contains supported modules.
-
I solved it by updating Qt to 5.5 beta.
EDIT: I build app successfully, but app will stack on loading screen if I add Websockets to .pro file.
EDIT: EDIT: Seems that Websocket are not implemented yet for Qt Quick, so I solved it by rewriting component in C++ and adding internet permission to appmanifest.xml -
Did you check if the example is working for you ?