Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
FontMetrics in QWindow?
How can I get fontMetrics of a font in my QWindow that I am using for OpenGL?
I was using a command like this in QWidget:
But this command does not work in QWindow. I even tried creating a widget inside a QWindow but I still was not able to use the command shown above.
Is there a way I can use the same command on QWindow? Or maybe another way to get similar results in QWindow?
What are you trying to achieve with that QWindow ?
I am running a program for text scrolling in beaglebone. I need Opengl to get beaglebone's GPU working, hence had to use QWindow.
You can also use the Graphics View framework with a QOpenGLWidget as backend.
How can I do that? Is there any example I can look at?
It's described in the QGraphicsView details using QGLWidget, but it's the ancestor of QOpenGLWidget.