{"id":60319,"library":"qtsvg","title":"Qt SVG","description":"Qt SVG provides classes for rendering and displaying SVG drawings in widgets and on other paint devices.","status":"active","version":"6.10.1","language":"cpp","source_language":null,"source_url":null,"tags":["qt","svg","graphics","rendering"],"install":[{"cmd":"vcpkg install qtsvg","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(qtsvg CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE Qt6::Svg)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"QSvgRenderer","correct":"#include <QSvgRenderer>"}],"quickstart":{"code":"#include <QSvgRenderer>\n#include <QImage>\n#include <QPainter>\nint main() {\n    QSvgRenderer renderer(QString(\"image.svg\"));\n    QImage image(200, 200, QImage::Format_ARGB32);\n    QPainter painter(&image);\n    renderer.render(&painter);\n    painter.end();\n    return 0;\n}","lang":"cpp","description":"Render an SVG file to a QImage"},"warnings":[],"env_vars":null,"search_vec":"'class':6 'devic':19 'display':10 'draw':12 'graphic':22 'paint':18 'provid':5 'qt':1,3,20 'render':8,23 'svg':2,4,11,21 'widget':14","created_at":"2026-06-16T19:25:37.954487+00:00","updated_at":"2026-06-16T19:25:37.954487+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}