Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. WebGL local html file loading fails
QtWS25 Last Chance

WebGL local html file loading fails

Scheduled Pinned Locked Moved QtWebEngine
webglwebengineviewqt5local file
2 Posts 1 Posters 1.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Daylight
    wrote on 1 Oct 2015, 14:08 last edited by Daylight 10 Jan 2015, 14:11
    #1

    I am trying to use WebGL with the fancy-browser (webenginewidgets) example. When I open an html file with embedded webgl content from the web - it works, but when I open exactly the same html from local filesystem - the behaviour is unpredictable: sometimes it loads, sometimes - not, after refresh it usualy fails...
    http://daylight.ho.ua/ngl.htm - works in fancybrowser example
    file:///tmp/ngl.htm - fails
    In chromium/firefox both work perfectly
    Qt 5.5, ubuntu 14.04 x64
    Any suggestions, why this could happen would be appreciated.

    D 1 Reply Last reply 5 Oct 2015, 11:27
    0
    • D Daylight
      1 Oct 2015, 14:08

      I am trying to use WebGL with the fancy-browser (webenginewidgets) example. When I open an html file with embedded webgl content from the web - it works, but when I open exactly the same html from local filesystem - the behaviour is unpredictable: sometimes it loads, sometimes - not, after refresh it usualy fails...
      http://daylight.ho.ua/ngl.htm - works in fancybrowser example
      file:///tmp/ngl.htm - fails
      In chromium/firefox both work perfectly
      Qt 5.5, ubuntu 14.04 x64
      Any suggestions, why this could happen would be appreciated.

      D Offline
      D Offline
      Daylight
      wrote on 5 Oct 2015, 11:27 last edited by
      #2

      Here are the screenshots depicting the problem:
      works from web
      fails from local drive

      1 Reply Last reply
      0

      1/2

      1 Oct 2015, 14:08

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved