[Interest] custom qtquick c++ component text rendering
railwaycoder at gmail.com
Thu Feb 20 09:34:09 CET 2014
can you provide me a small piece of code how you create the qml Text inside
the polish function?
Am 19.02.2014 22:03 schrieb "Unai IRIGOYEN" <u.irigoyen at gmail.com>:
> You can use QQuickItem::polish() and QQuickItem::updatePolish() to
> and maintain QML Text elements. That's the way I do and it works pretty
> 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
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest