Do I use SVG image direct or render?



  • Hi, I have got an svg file (this is a world map image). SVG file (world map) is providing path tags and d attributes for country coordinates . When I click on the country, I want to get clicked country name. So, should I use svg file with Image (direct) for this job?
    Like this:

    Image {
      id: worldMap
      anchors.fill: parent
      source: 'qrc:/world_map.svg'
    }
    

    Or should I render svg file for this job?

    [Closed, duplicate of https://forum.qt.io/topic/84672 ~~ @Wieland]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.