Re: [Interest] custom qtquick c++ component text rendering

2014-02-20 Thread Railway Coder
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" : > Hi, > You can use QQuickItem::polish() and QQuickItem::updatePolish() to > instantiate > and maintain QML Text elements. That's

Re: [Interest] custom qtquick c++ component text rendering

2014-02-19 Thread Unai IRIGOYEN
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

[Interest] custom qtquick c++ component text rendering

2014-02-19 Thread Railway Coder
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 searche