Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to draw a text with QSG?
Forum Updated to NodeBB v4.3 + New Features

How to draw a text with QSG?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 390 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dmitriano
    wrote on last edited by
    #1

    I did a quick search, but not find a way to draw a text with QSG.

    Found an example, that draws a text to QImage first and then creates QSGTexture from that image. Should I use this technique?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      As far as I know, there are some text rendering nodes available, but they are not publicly available (they are part of quick-private module).

      So unfortunately yes, drawing to a texture seems like a good alternative.

      (Z(:^

      D 1 Reply Last reply
      2
      • sierdzioS sierdzio

        As far as I know, there are some text rendering nodes available, but they are not publicly available (they are part of quick-private module).

        So unfortunately yes, drawing to a texture seems like a good alternative.

        D Offline
        D Offline
        Dmitriano
        wrote on last edited by
        #3

        @sierdzio Strange... is there any plans to make them public?

        sierdzioS 1 Reply Last reply
        0
        • D Dmitriano

          @sierdzio Strange... is there any plans to make them public?

          sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          @Dmitriano said in How to draw a text with QSG?:

          @sierdzio Strange... is there any plans to make them public?

          Nope. People have been asking for this for ages...

          Although maybe with QML3 in Qt6, who knows. I haven't checked it out yet.

          (Z(:^

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved