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. QWebEngineView->render() throws nullptr exception
Forum Update on Monday, May 27th 2025

QWebEngineView->render() throws nullptr exception

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 293 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.
  • A Offline
    A Offline
    ANorton
    wrote on 7 Oct 2022, 17:31 last edited by
    #1

    Hello everyone, having a Qt 5.15.5 that was built for x86, Windows, QWebEngineView and QGraphicsScene (used for off-screen rendering)
    Rendering a QWebEngineView by render() method, and everything works-as-designed.
    But, in some undefined scenarios, it throws some nullpointer exception within QOpenGLFunctions::glReadPixels: a pixels is nullptr.
    I think that's may be a some strange bug that should be fixed, passing some screenshots of exception points
    Point first: calling QGraphicsScene render() method
    c4d5a274-b83a-47df-9716-41af2b9ec449-image.png
    And then the last point where exception happens
    88e528e7-c9b9-40bd-a6c5-4ad41d63236d-image.png

    If you need some additional data needed to solve a problem, then I can push a full stack trace maybe. The only problem is that this bug occurs really randomly, but often enough. Once in 35-40 minutes maybe

    1 Reply Last reply
    0

    1/1

    7 Oct 2022, 17:31

    • Login

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