[Interest] custom qtquick c++ component text rendering

Unai IRIGOYEN u.irigoyen at gmail.com
Wed Feb 19 22:03:08 CET 2014


Hi,
You can use QQuickItem::polish() and QQuickItem::updatePolish() to instantiate 
and maintain QML Text elements. That's the way I do and it works pretty well.

Best regards.

-- 


Unai IRIGOYEN

Le mercredi 19 février 2014 21:51:06, Railway Coder a écrit :
> Hello,
> 
> I've made my own QtQuick component by sub classing QtQuickItem.
> Rendering lines, rectangles and so on with QSGNode works fine.
> 
> Now, I want to add some text rendering. I don't want to use qpainteditem
> for that.
> I think there must be a new QSG related way to do this.
> 
> Any ideas? I've searched the documentation of Qt5.2 without luck.
> 
> Thanks and Best Regards,
> railwaycoder



More information about the Interest mailing list