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
Forum Update on Monday, May 27th 2025

Getting QOpenGLFramebufferObject error on grabtoimage with big objects

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 537 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.
  • S Offline
    S Offline
    sdsoldi
    wrote on 14 Dec 2017, 15:51 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

    1/1

    14 Dec 2017, 15:51

    • Login

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