Results 1 to 2 of 2

Thread: QGLWidget renderPixmap and alpha channel

  1. #1
    Join Date
    Jun 2010
    Posts
    1

    Question QGLWidget renderPixmap and alpha channel

    Hi,
    I was wondering if the QGLWidget renderPixmap function was taking into account the alpha channel ?
    I tried to render a scene with glClearColor( 1, 0, 0, 0.5 ) in paintGL() but the pixmap returned by renderPixmap(0, 0, true) has no alpha. Am I missing something ?
    Thanks.

  2. #2
    Join Date
    Sep 2015
    Posts
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: QGLWidget renderPixmap and alpha channel

    I know it was a while back, but did you ever manage to solve this?

Similar Threads

  1. alpha channel problems
    By codebehind in forum Qt Programming
    Replies: 2
    Last Post: 28th February 2010, 22:24
  2. Accessing alpha channel of QImage directly
    By spraff in forum Qt Programming
    Replies: 3
    Last Post: 19th March 2009, 16:24
  3. SVG to alpha channel QPixmaps?
    By WinchellChung in forum Newbie
    Replies: 5
    Last Post: 24th August 2007, 21:07
  4. Replies: 2
    Last Post: 3rd November 2006, 22:20
  5. Alpha channel weirdness with QGLContext
    By renaissanz in forum Qt Programming
    Replies: 2
    Last Post: 15th March 2006, 16:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.