What is the different between Svg in C++ Class and the SVG in Qt Webkit?



  • As we know that, Qt Webkit is able to render the Svg, and the Qt C++ Class such as QSvgRenderer can also do the same work. My questions are:

    1. Do thay use the same SVG Render Engine? or they are different from each other?
    2. Which one is more fast?

    Thanks!


  • Moderators

    QtSvg module only supports SVGTiny specification, so it does not guarantee to render real SVG files accurately. It has less dependencies than WebKit, but I don't know abut the performance, you would have to benchmark it.

    QtWebKit has full support for SVG standard, so it should render all SVG files correctly.


Log in to reply
 

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