Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to render date and time in Qt using Opengl ES 2.0
wisty last edited by
We want to draw date and Time on Opengl ES 2.0 context in QT 4.7.
We have tried doing so using drawText(x,y,Qstring).
following is the code attached for reference.
painter.begin( this );
But it is not being drawn on the Opengl ES context.
We are inheriting this widget class from QGLWidget.
Is this the correct way or there is some other way to draw date and Time on the opengl ES 2.0 context?
Please suggest or provide some link for reference.
Guest last edited by
how about using the renderText() call ?