Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Problem with resize qml item with opengl texture inside



  • Hello,
    I tried to write a viewport for opengl following the example provided in "texture in thread". But I ran into a problem, when I try to resize an area, the area turns black for a short time. Is there a way to fix this? As far as I understand, the problem is that I delete the QOpenGLFramebufferObject to resize it and this removes the texture.
    I posted an example of my project on github
    https://github.com/ArtifeksNN/qmlViewport


Log in to reply