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
Forum Updated to NodeBB v4.3 + New Features

WebGL local html file loading fails

Scheduled Pinned Locked Moved QtWebEngine
webglwebengineviewqt5local file
2 Posts 1 Posters 1.6k Views 1 Watching
  • 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

      2/2

      5 Oct 2015, 11:27

      • Login

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