Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Game Development
  4. Qt 5.2 Window transparent when enabling blending?
QtWS25 Last Chance

Qt 5.2 Window transparent when enabling blending?

Scheduled Pinned Locked Moved Game Development
2 Posts 2 Posters 1.5k 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.
  • S Offline
    S Offline
    Seraph
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

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