Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

QOpenGLFunctions 自定义控件显示问题 #334

Open
RAVER0306 opened this issue Dec 8, 2023 · 0 comments
Open

QOpenGLFunctions 自定义控件显示问题 #334

RAVER0306 opened this issue Dec 8, 2023 · 0 comments

Comments

@RAVER0306
Copy link

为什么在FramelessHelper下使用QOpenGLFunctions绘制的图片无法在QML中展示,似乎被隐藏了,但是我如果使用 QML 原生的Window,则是正常显示的,在FramelessHelper下需要开启GL_DEPTH_TEST这个才能显示出来,但是原生的不用,可是开启GL_DEPTH_TEST之后QOpenGLFunctions显示的图片又会遮住QML的控件。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant