According to qgis help files here:

'Labels can be interpreted as html code: check the checkbox Render as HTML. You can now insert a url, an clickable image that link to a web page or something more complex.'

And yet, my label with the contents:

<a href="http://google.com">google</a>

produces a pdf that's rendered with 'google' in blue text like a link but it's not clickable.

Is it possible to have clickable links in the output? And if so, what am I doing wrong?


It seems like this is currently not possible

I couldn't find a feature request for this on the QGIS bug tracker with a quick search. For more info on how feature requests are handled, see How to effectively get things changed in QGIS?

  • I might try adding that feature. Much better with Python then c++ personally, but I'll have a look. SVG export should be a simple one to fix. The document already declares xlink, but then fails to include the text in <xlink> tags. – Jesse McMillan Jan 20 '17 at 17:17
  • Has this been fixed in v3? – Simon Dec 5 '18 at 16:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.