标题:setAttribute(Qt::WA_TranslucentBackground)后OpenGL穿透
作者:xuyaoni
日期:2018-06-29 09:58
内容:
如题:因主窗口边框透明,使用了setAttribute(Qt::WA_TranslucentBackground),渲染OpenGL的QGraphicsview窗体无法正常渲染,直接穿透显示桌面区域。求大神指导不去除setAttribute(Qt::WA_TranslucentBackground)时应该怎么做,谢谢!
#1 [zhjun5337 06-29 11:45]
opengl和d3d不能绘制到透明窗口上