QWebEnginePage setContent does not render SVG data
-
wrote on 1 Aug 2016, 00:48 last edited by
I use the following to set the page's content and rather than render the svg data it simply displays it as text.
array = QByteArray().append(content) self.mapView.page().setContent(array, mimeType=str('text/svg+xml'))
Anyone know how to actually make it render with setContent?
1/1