Results 1 to 2 of 2

Thread: QGLWidget on QDeclarativeView. Problems with alpha channel.

  1. #1
    Join Date
    Feb 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Android

    Question QGLWidget on QDeclarativeView. Problems with alpha channel.

    Hi!,

    I'm having troubles mixing content of a QDeclarativeView on a QGLWidget. Basically, I have a floating menu designed using QML as source of a QDeclarativeView with a specific QGLWidget as viewport. On the other hand, I have an architecture of classes that produces a QGLWidget with a rendered image. I'm trying to obtain a unique QGLWidget mixing both of them. Currently, the result is a unique QGLWidget with the image rendered as background but with a black rectangle instead the transparent color of my menu. What I'm doing wrong?

    I'm using Qt 4.8.2 on Windows 7.

    Thank you in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QGLWidget on QDeclarativeView. Problems with alpha channel.

    Show us some code.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. QGLWidget renderPixmap and alpha channel
    By omega in forum Newbie
    Replies: 1
    Last Post: 12th September 2015, 02:55
  2. setting QPixmap's alpha channel
    By ugluk in forum Qt Programming
    Replies: 4
    Last Post: 18th September 2012, 09:08
  3. alpha channel problems
    By codebehind in forum Qt Programming
    Replies: 2
    Last Post: 28th February 2010, 23:24
  4. SVG to alpha channel QPixmaps?
    By WinchellChung in forum Newbie
    Replies: 5
    Last Post: 24th August 2007, 22:07
  5. Alpha channel weirdness with QGLContext
    By renaissanz in forum Qt Programming
    Replies: 2
    Last Post: 15th March 2006, 17:10

Tags for this Thread

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.