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. OpenGL under QML not rendering properly
Forum Updated to NodeBB v4.3 + New Features

OpenGL under QML not rendering properly

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

    I'm running the OpenGLUnderQML example under MACOS.

    It should generate a window like this

    c0e0731e-47ab-4ba2-b4ed-24c7f4c64bb8-image.png
    But it actually rendered a white window.
    After some test I found that if I add these line to qtquickcontrols2.conf, I got the right ouput.

    [Controls]
    Style=Material
    [Material]
    Theme=Dark
    
    1 Reply Last reply
    0
    • K Offline
      K Offline
      KeenJackdaw
      wrote on last edited by
      #2

      The style must be Material and the theme must be dark, otherwise it renders a white window again.

      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