Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
What is the different between Svg in C++ Class and the SVG in Qt Webkit?
jiaohenghao last edited by
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:
- Do thay use the same SVG Render Engine? or they are different from each other?
- Which one is more fast?
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.