Results 1 to 2 of 2

Thread: QOpenGLWidget and text rendering

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2015
    Qt products
    Qt4 Qt5

    Default QOpenGLWidget and text rendering


    the problem is as follows: I need to render text on QOpenGLWidget. I was using QPainter to do so, but as I see, it lives by itself, e.g. resizeGL call does not affect QPainter rendered text position, also QPainter coordinates are different from defined in glOrtho. In QGLWidget there was a nice function renderText, obviously it is absent in QOpenGLWidget. Any other alternatives?

    Last edited by Kozersky; 27th September 2015 at 11:54.

Similar Threads

  1. Text Rendering Problems
    By ustulation in forum Qt Quick
    Replies: 0
    Last Post: 3rd June 2014, 23:14
  2. Text Edit rendering
    By VirtualRealty in forum Qt Programming
    Replies: 2
    Last Post: 1st October 2010, 18:16
  3. Text clipped when rendering svg.
    By ocratato in forum Newbie
    Replies: 1
    Last Post: 20th June 2010, 11:03
  4. 2D OpenGL text rendering with existing app
    By bytebucket in forum Newbie
    Replies: 7
    Last Post: 11th March 2010, 21:28
  5. text rendering problem
    By vno4697 in forum Qt Programming
    Replies: 0
    Last Post: 12th August 2008, 15:44

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.