Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Pyqt6-Webengine Web View Page load error (please)

Pyqt6-Webengine Web View Page load error (please)

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 835 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.
  • J Offline
    J Offline
    jykwak
    wrote on last edited by
    #1

    Hello, I'm currently developing a desktop application using PyQt6 on Debian 11 with Python version 3.9.2 and OpenSSL version 1.1.1. However, I've encountered an issue after changing the Python version to 3.9.18 and OpenSSL version to 3.0.12 within a Miniconda virtual environment. The problem specifically occurs when using PyQt6-WebEngine for web view, and strangely, everything worked fine up to Python 3.9.7. Here's the error message:

    WebEngineContext is used before QtWebEngineQuick::initialize() or OpenGL context creation failed.
    QGLXContext: Failed to create dummy context
    QRhiGles2: Failed to create temporary context
    QRhiGles2: Failed to create context
    Failed to create QRhi for QBackingStoreRhiSupport
    QRhiGles2: Failed to create temporary context
    QRhiGles2: Failed to create context
    Failed to create QRhi for QBackingStoreRhiSupport
    QQuickWidget: Failed to get a QRhi from the top-level widget's window
    QQuickWidget::resizeEvent() no QRhi
    QRhiGles2: Failed to create temporary context
    QRhiGles2: Failed to create context
    Failed to create QRhi for QBackingStoreRhiSupport
    QQuickWidget: Failed to get a QRhi from the top-level widget's window
    QRhiGles2: Failed to create temporary context
    QRhiGles2: Failed to create context
    Failed to create QRhi for QBackingStoreRhiSupport
    QQuickWidget: Failed to get a QRhi from the top-level widget's window
    QQuickWidget: Attempted to create output texture with no QRhi
    QQuickWidget: Attempted to render scene with no rhi

    JonBJ 1 Reply Last reply
    0
    • J jykwak

      Hello, I'm currently developing a desktop application using PyQt6 on Debian 11 with Python version 3.9.2 and OpenSSL version 1.1.1. However, I've encountered an issue after changing the Python version to 3.9.18 and OpenSSL version to 3.0.12 within a Miniconda virtual environment. The problem specifically occurs when using PyQt6-WebEngine for web view, and strangely, everything worked fine up to Python 3.9.7. Here's the error message:

      WebEngineContext is used before QtWebEngineQuick::initialize() or OpenGL context creation failed.
      QGLXContext: Failed to create dummy context
      QRhiGles2: Failed to create temporary context
      QRhiGles2: Failed to create context
      Failed to create QRhi for QBackingStoreRhiSupport
      QRhiGles2: Failed to create temporary context
      QRhiGles2: Failed to create context
      Failed to create QRhi for QBackingStoreRhiSupport
      QQuickWidget: Failed to get a QRhi from the top-level widget's window
      QQuickWidget::resizeEvent() no QRhi
      QRhiGles2: Failed to create temporary context
      QRhiGles2: Failed to create context
      Failed to create QRhi for QBackingStoreRhiSupport
      QQuickWidget: Failed to get a QRhi from the top-level widget's window
      QRhiGles2: Failed to create temporary context
      QRhiGles2: Failed to create context
      Failed to create QRhi for QBackingStoreRhiSupport
      QQuickWidget: Failed to get a QRhi from the top-level widget's window
      QQuickWidget: Attempted to create output texture with no QRhi
      QQuickWidget: Attempted to render scene with no rhi

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @jykwak If you do not get an answer in this forum, consider asking this on the PyQt mailing list.

      J 1 Reply Last reply
      0
      • JonBJ JonB

        @jykwak If you do not get an answer in this forum, consider asking this on the PyQt mailing list.

        J Offline
        J Offline
        jykwak
        wrote on last edited by
        #3

        @JonB Thank you sincerely!

        1 Reply Last reply
        0
        • A Offline
          A Offline
          aman006
          wrote on last edited by
          #4

          @jykwak I'm encountering the same issue. How did you resolve it?

          1 Reply Last reply
          0

          • Login

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