[Interest] [Qt3D] QText2DEntity not appears if QLayerFilter is used

Paul Lemire paul.lemire at kdab.com
Mon Nov 18 07:03:19 CET 2019

Hi Oleg,

From what I can see in the code, QText2DEntity doesn't draw anything,
but it instead instantiates internal Qt3D Entity instances to do the

Therefore if you set the QLayer on QText2DEntity, it won't be set on the
internal entities and won't draw.

One option might be to set the recursive property to true on your QLayer
so that setting it on QText2DEntity also makes it pickup all of its
children Entities.

I hope that helps,


On 11/17/19 2:18 AM, Oleg Evseev wrote:
> Hi,
> Did somebody successfully work with QText2DEntity in 3d scenes with
> QLayerFilters?
> Here is my project https://bugreports.qt.io/browse/QTBUG-80092.
> QText2DEntity doesn't appear.
> https://github.com/Nonmant/Qt3DExtras-QText2DEntity-Example without
> Layers works fine.
> This is the bug or maybe I set something wrong?
> Thanks in advance for any help.
> ---
> With regards, Oleg.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

Paul Lemire | paul.lemire at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel: France +33 (0)4 90 84 08 53, http://www.kdab.fr
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191118/d98cf348/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4282 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20191118/d98cf348/attachment.bin>

More information about the Interest mailing list