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. [fixed] OpenGL under QML text is distorted
Forum Updated to NodeBB v4.3 + New Features

[fixed] OpenGL under QML text is distorted

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 829 Views 1 Watching
  • 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.
  • strahlexS Offline
    strahlexS Offline
    strahlex
    wrote on last edited by
    #1

    Hi,

    I am working on a Qt OpenGL engine under QML but I have some problems when placing text inside QML over the OpenGL view. The paint function is triggered by the beforeRendering() function of the QtQuickWindow as in the OpenGL under QML demo. Here is an image of my problem:
    !https://dl.dropboxusercontent.com/u/50861330/engine.png(engine)!

    Any ideas what could be the problem?

    Feel free to check out my website machinekoder.com
    and my pet projects Intellicute and QtQuickVcp

    1 Reply Last reply
    0
    • strahlexS Offline
      strahlexS Offline
      strahlex
      wrote on last edited by
      #2

      Found it: The paint method took to long. I did more than painting in it.

      Feel free to check out my website machinekoder.com
      and my pet projects Intellicute and QtQuickVcp

      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