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

Getting QOpenGLFramebufferObject error on grabtoimage with big objects



  • Hi!

    I'm trying to get an image from an object but I'm getting QOpenGLFramebufferObject error when I try to grab big image.

    The error:
    QOpenGLFramebufferObject: Framebuffer incomplete attachment.
    QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.

    The code:
    rule.grabToImage(function(result) {
    result.saveToFile("test01.png");
    });

    This code works on "small" objects like 6000x650 px. But when I try to generate a 12000x650px is crashing.

    I need to take this "photos" on big "rules" to get the preview. It's another way to get this?


Log in to reply