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. Stack app w/ Material theme throws OpenGL error and renders wrong.
Forum Updated to NodeBB v4.3 + New Features

Stack app w/ Material theme throws OpenGL error and renders wrong.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 164 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.
  • null_ptrN Offline
    null_ptrN Offline
    null_ptr
    wrote on last edited by
    #1

    Overview:

    Qt Quick Stack app w/ Material themed qt quick controls turns black and logs OpenGL error when certain conditions are met. It seems that the issue is triggered whenever the window width is greater than height. Whenever the app returns to a layout where the height is greater than the width the theme appears normal.

    Project setup:

    1. File
    2. New File or Project
    3. Select Qt Quick Application - Stack
    4. Select qmake
    5. Select QT 5.11 and Material Dark or Material Light.
    6. Build

    Issue occurs when any of the following happen:

    • When visibility: "Fullscreen" is added to main.qml
    • When I move the window to a new workspace via i3
    • When to move the window to a horizontal tile i3

    What happens:

    • The theme turns blackish (see screenshot below)
    • Error message is logged to console.

    Error message:

    OpenGLFramebufferObject: Framebuffer incomplete attachment.
    OpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
    

    Additional notes:

    • Issue does not happen with default theme.
    • Issue does not happen with Material theme on Qt Quick Application - Swipe and Qt Quick Application - Scroll.
    • Issue happens regardless of how the program is launched, startx mydemo, from a terminal mydemo , exec mkydemo in .xinitrc or directly in qtcreator with build + run.
    $uname  -a
    # Raspbian Buster,  Pi 3 B
    Linux <hostname> 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
    $qmake --version
    QMake version 3.1
    Using Qt version 5.11.3 in /usr/lib/arm-linux-gnueabihf
    

    This is how the app should appear:

    How the app should appear

    This is how it appears:

    2019-10-13-013103_1920x1080_scrot.png

    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