Hi, can you provide me a small piece of code how you create the qml Text inside the polish function?
Thanks, Railwaycoder Am 19.02.2014 22:03 schrieb "Unai IRIGOYEN" <u.irigo...@gmail.com>: > 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 > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest