Results 1 to 1 of 1

Thread: Qt3D 2D Text (HUD)

  1. #1
    Join Date
    Dec 2016
    Posts
    11
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Windows

    Default Qt3D 2D Text (HUD)

    Hi,

    I'm new to Qt3D and I'm wondering how can I display a 2D text on top of my Qt3DWindow element (like a HUD).

    - Putting a label and using the raise() method isn't displaying the label on top.
    - https://doc.qt.io/qt-5/qt3dextras-qtext2dentity.html -> when creating a QText2DEntity instance and parenting it to the root node it lives in 3D space...
    - I wasn't able to use a QPainter in the paintEvent.

    I'm probably missing something as this should be a simple thing to do.

    Any help would be appreciated,

    Thanks.
    Last edited by panicq; 29th January 2021 at 23:13.

Similar Threads

  1. QText2DEntity - how to print text in Qt3D?
    By xinouch in forum Qt Programming
    Replies: 0
    Last Post: 20th July 2018, 13:44
  2. Qt3D
    By Ichi in forum Qt Quick
    Replies: 8
    Last Post: 6th March 2013, 16:31
  3. Qt3D
    By Ichi in forum Qt Tools
    Replies: 0
    Last Post: 17th February 2013, 19:03
  4. Qt3D
    By Viper666 in forum Qt Programming
    Replies: 0
    Last Post: 2nd November 2012, 20:19
  5. Please help with Qt3D
    By lni in forum Qt Programming
    Replies: 0
    Last Post: 27th July 2012, 18:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.