[Interest] QQuickTextNode not reachable from QQuickItem

Dmitry Volosnykh dmitry.volosnykh at gmail.com
Thu Jan 14 21:43:23 CET 2016


Hi, Mark.

I guess you should implement it without using QQuickTextNode directly.
Instead, you could try to put text in a usual way on top of your custom
item. Is there anything that prevents you from achieving your goal this way?

Regards,
Dmitry.

On Thu, Jan 14, 2016 at 11:32 PM mark diener <rpzrpzrpz at gmail.com> wrote:

> Hello List:
>
> Well after pouring thru 5.5.1 source code, I find that QQuickTextNode
> is really not intended to be used in QQuickItem derived classes.
>
> There is not visible header file from projects.
>
> Lots of various google references to similar challenge of text in
> QQuickItem.
>
> At this point, my only C++ way for custom components with text is
> QQuickPaintedItem.
>
> Anyone have thoughts on how to output text into QuickItem stuff?
>
> Thanks,
>
> md
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160114/eab96ff5/attachment.html>


More information about the Interest mailing list