<div dir="ltr"><div>That's a pretty serious drawback. If there's no way around this, we need to make sure composer labels are improved (and hopefully plug in the canvas label drawing engine to the composer labels). <br><br></div>M<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 10, 2015 at 4:19 PM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10 May 2015 at 18:51, Matthias Kuhn <<a href="mailto:matthias@opengis.ch">matthias@opengis.ch</a>> wrote:<br>
<br>
> The other issue is that there's a rather big dependency on QtWebkit<br>
> currently. We are struggling already with that on Android.<br>
> Alternatives<br>
> * QtWebEngine is the future but only available starting from Qt 5.4. So<br>
> this is not an option now.<br>
> * QLabel/QML: Where it's only used for richtext, a QLabel can be used.<br>
> Where there's javascript involved it may be worth investigating the use<br>
> of QML.<br>
<br>
</span>This change also affects composer in a big way, in that it's no longer<br>
possible to have a HTML composer item. QtWebEngine has no support for<br>
rendering using a QPainter, and without this ability we lose the<br>
possibility of vector rendering of HTML content. Hopefully this is<br>
addressed before QWebPage is removed from Qt5, but I honestly doubt it<br>
will be.<br>
<br>
I'm not sure what our alternatives are. We could fall back to using<br>
QLabel and it's limited subset of HTML, or ..? In the meantime, I'd<br>
suggest not relying too heavily on HTML content in compositions!<br>
<span class="HOEnZb"><font color="#888888"><br>
Nyall<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>