Unsolved How to draw a text with QSG?
-
I did a quick search, but not find a way to draw a text with QSG.
Found an example, that draws a text to QImage first and then creates QSGTexture from that image. Should I use this technique?
-
As far as I know, there are some text rendering nodes available, but they are not publicly available (they are part of
quick-private
module).So unfortunately yes, drawing to a texture seems like a good alternative.
-
@sierdzio Strange... is there any plans to make them public?
-
@Dmitriano said in How to draw a text with QSG?:
@sierdzio Strange... is there any plans to make them public?
Nope. People have been asking for this for ages...
Although maybe with QML3 in Qt6, who knows. I haven't checked it out yet.