Qt 5.2 Window transparent when enabling blending?



  • Hi there,
    I just updated to Qt 5.2 and the problem starts.
    My application is using the openGL blending function to make objects transparent through alpha channnel.
    I set up the blend function like this:
    @glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    glEnable(GL_BLEND);@

    This worked since the big bang! But now: Wherever the blending is used, the window itself gets transparent!!! I can literally look through my window at these areas!
    What did change? Do i have to use any QOpenGLFunction or QOpenGLContext stuff to make it work again?

    I am using Windows 7 64bit on intel core i5 and ATI HD5650 Mobility Radeon with the latest beta drivers!
    Again: 5.1.1 working... 5.2 wont!
    I will downgrade to 5.1.1 for now.

    Thanks in advance!


  • Lifetime Qt Champion

    Hi,

    Since it might be a regression, I would recommend asking this question on the interest mailing list you'll find Qt's developer/maintainers there (this forum is more user oriented)

    In between, you can also check the "bug report system":http://bugreports.qt-project.org to see whether it's a known issue. Maybe open a bug report with a minimal compilable example that shows the behavior change


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.