Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to renderPixmap in QOpenGLWidget
QtWS25 Last Chance

How to renderPixmap in QOpenGLWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 926 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.
  • chuanlauC Offline
    chuanlauC Offline
    chuanlau
    wrote on last edited by
    #1

    Re: Migrating from QGLWidget to QOpenGLWidget
    Since QGLWidget is upgraded to QOpenGLWidget, there are several functions missing in the current Qt version, such as renderPixmap().
    But now I want to do "screen capture" on my QOpenGLWidget but I don't know how since there is no renderPixmap().
    Is there any way to do so?
    Thanks very much!

    Lau

    K 1 Reply Last reply
    0
    • chuanlauC chuanlau

      Re: Migrating from QGLWidget to QOpenGLWidget
      Since QGLWidget is upgraded to QOpenGLWidget, there are several functions missing in the current Qt version, such as renderPixmap().
      But now I want to do "screen capture" on my QOpenGLWidget but I don't know how since there is no renderPixmap().
      Is there any way to do so?
      Thanks very much!

      Lau

      K Offline
      K Offline
      KeithS
      wrote on last edited by
      #2

      @chuanlau

      QOpenGLWidget::grabFrambuffer() ?

      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