Search the Community
Showing results for tags 'qwidget'.
-
Hi, we are using opengl at the moment for our project with a QOpenGLWidget which is working fine with the Qt composition of QWidget layers, which have transparency, on each other. We want to use directx because of some shader bugs ,which are not solved in opengl yet, and performance improvement. I also managed to get unigine working with directx but I can not overlay the used QWidget with any other QWidget based elements which have transparency. There is no blending in this case and the Unigine scene will not be visible. Do you already have a solution which works with the way Qt composites its UI elements and DirectX or is anything like that planned in the near future? Regards, Sebastian
-
Hello everybody, we are planning a Project now with Qt Ui Elements on top of a Unigine Widget. We made a little research and found out that Qt is using a BackingStore to composite their UI Elements/Widgets (Labels, Buttons etc.). After calling winId() on a QWidget, the QWidget class creates a native HWND on Windows. When creating a OpenGL context with the HWND the rendered content is not blended correctly with the UI. Since Unigine uses the same technique with their AppQt example, we are wondering if you have any idea, how to do this. Or is there a solution to use a QOpenGLWidget instead of a QWidget? Thanks, Sebastian