Qtogre : https://bugs.openmw.org/issues/1281

There are still 2 problems with this branch, and I would like to hear what you think.

1) on windows at least, you need OGreOverlay.lib . I don't know how to add this to opencs CMAke.

2) I don't exactly know what to do regarding resource groups and Ogre. Right now, Ogre is not aware of resources/OpenCS so I had to manualy place the font Comic.ttf in some other places. Besides, are the resource groups name fixed?  See PagedWorldSpaceWidget line 267...
I think you should look into drawing the text using QT instead. This code looks quite non-maintainable in several ways and just plain stupid in others (copying pixel by pixel rather than blitting).

Just use a QPainter to draw text on a QPixmap, then copy the QPixmap to an Ogre texture. Also has the advantage of using the system font and not requiring an external one.