Protocol “” is unknown

  • I'm using simple browser made with Qt WebKit (Qt version 5.2.1).

    On a page (running local rails server) I have a link that opens Pdf Previewer (pdf.js). In this .js script I try to open local (rails) url with path as parameter. Path can be local file path or some public url.



    In case parameter path is public url rails only redirects to this url.

    But problem is, that in this browser I get an error (in console):

    GET http://localhost/documents/preview_file? Protocol "" is unknown

    I get this error only in this QtWebKit browser, Chrome and Firefox open this link without problem.

    Any help appreciated


  • @Sasa-Friedrich Could you provide example page which misbehaves?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.