Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Using Fonts in OpenGL



  • Hi!

    It´s possible draw a text in a OpenGL rendering context using the QFont Object?
    Anyone there have an example of how can i do this?

    The idea is just to have some text on the screen while i render some objects.

    Regards



  • If that is sufficient, performance wise, draw text in a QPixmap and use bindTexture() to use it in your GL context.


Log in to reply