Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.5.0 Beta
-
None
-
Debian GNU/Linux
-
eaebf63c17964d449b75b7d2d6af3d0efaee5ed9
Description
Hi there,
so I've downloaded Qt 5.5 beta from the installer here: http://www.qt.io/download-open-source/#section-8
I then installed it and wanted to test the QWebChannel demo.
So I do:
export PATH=~/Qt5.5.0/5.5/gcc_64/bin:~/Qt5.5.0/Tools/QtCreator/bin:$PATH cd ~/Qt5.5.0/Examples/Qt-5.5/webchannel/ qmake make
and then try the standalone example: standalone/index.html
Unfortunately that needs qwebchannel.js, see line 14
So nothing works since qwebchannel.js is not there.
As far as I can see the file qwebchannel.js, which is located here needs to be copied into the following directories (folders)
- examples/webchannel/nodejs
- examples/webchannel/standalone
- examples/webchannel/qwclient
- examples/webchannel/chatclient-qml
- examples/webchannel/chatclient-html
the reasons being the following:
- examples/webchannel/nodejs/chatclient.js line 37
- examples/webchannel/standalone/index.html line 5
- examples/webchannel/qwclient/qwclient.js line 38
- examples/webchannel/chatclient-qml/qmlchatclient.qml line 40
- examples/webchannel/chatclient-html/chatclient.html line 14
Thanks.
PS: By the way; what does the "strange-looking" stuff in exampleassets.pri do? I suppose it only works, when I checkout the Qt source from the git-tree, and I'm guessing it copies qwebchannel.js. Unfortunately it does not work, when installing via the installer.