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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.