Qt Forum

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

    Unsolved How to renderPixmap in QOpenGLWidget

    General and Desktop
    2
    2
    755
    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.
    • chuanlau
      chuanlau last edited by

      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 Reply Quote 0
      • K
        KeithS @chuanlau last edited by

        @chuanlau

        QOpenGLWidget::grabFrambuffer() ?

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