Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46541

qwebchannel.js not included in Examples in normal install

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.5.0 Beta
    • WebChannel
    • 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)

      the reasons being the following:

      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.

      Other people were having similar troubles: link1, link2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            veshivas Venugopal Shivashankar
            nicesw123 nicesw123
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes