Home > Mobile >  Qt load color SVG format, but shows black??
Qt load color SVG format, but shows black??

Time:10-04

UI gave an SVG format document images
Content as follows,
I put the resource loading into the QRC, then calls the results show that the
It is the two lines of code
Don't know why is this effect, want to know the great spirit guide!

CodePudding user response:

Let the UI to PNG or JPG figure went, vector drawing involves the font format, can not display, so the best is directly screenshots as PNG, text through code approaches such as digital map
  •  Tags:  
  • Qt
  • Related