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

How to renderPixmap in QOpenGLWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 929 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.
  • C Offline
    C Offline
    chuanlau
    wrote on 25 Feb 2016, 05:45 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 25 Feb 2016, 10:21
    0
    • C chuanlau
      25 Feb 2016, 05:45

      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 25 Feb 2016, 10:21 last edited by
      #2

      @chuanlau

      QOpenGLWidget::grabFrambuffer() ?

      1 Reply Last reply
      0

      1/2

      25 Feb 2016, 05:45

      • Login

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