Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Getting QOpenGLFramebufferObject error on grabtoimage with big objects

Getting QOpenGLFramebufferObject error on grabtoimage with big objects

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 533 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sdsoldiS Offline
    sdsoldiS Offline
    sdsoldi
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved