Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    QTWebEngine+WebGL didn't work with Windows

    General and Desktop
    2
    3
    1924
    Loading More Posts
    • 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.
    • A
      aWaKeNiNG last edited by

      Hi!

      I have downloaded the snapshot version Qt 5.4 mvc2013-opengl from here: http://download.qt-project.org/snapshots/qt/5.4/5.4.0-beta/2014-10-15_43/

      and when i run the quicknanobrowser example that it uses QtWebEngine, the WebGL didn't work.

      The get.webgl.org website says:

      "Hmm, While your browser seems to support WebGL, it is disabled or unavailable. If possible, please ensure that you are running the latest drivers for your video card".

      On the other hand, the webkit examples work with WebGL. Chrome works too.

      How can i fix the problem? Thanks.

      Kind Regards.

      1 Reply Last reply Reply Quote 0
      • J
        jturcotte last edited by

        WebGL is currently disabled on Windows since it is unstable in some combinations of driver, ANGLE or desktop GL builds, etc.

        This line disables it on Windows, you can try removing it and see if this is stable enough for you already: https://qt.gitorious.org/qt/qtwebengine/source/181d8fdf4cb45f31dd1692c5c6ea677eaa697929:src/core/web_engine_context.cpp#L144

        1 Reply Last reply Reply Quote 0
        • A
          aWaKeNiNG last edited by

          [quote author="jturcotte" date="1413484167"]WebGL is currently disabled on Windows since it is unstable in some combinations of driver, ANGLE or desktop GL builds, etc.

          This line disables it on Windows, you can try removing it and see if this is stable enough for you already: https://qt.gitorious.org/qt/qtwebengine/source/181d8fdf4cb45f31dd1692c5c6ea677eaa697929:src/core/web_engine_context.cpp#L144[/quote]

          Thanks! I will try it.

          Do you know if it will be stable in the final 5.4 release?

          Kind Regards.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post