QSvgWidget
QSvgWidget is a widget that provides an SVG image that you can use in your application.
Example
import fs from "fs";import { QSvgWidget } from '@vixen-js/core';
const svg = new QSvgWidget();svg.load("./assets/image.svg");// orfs.readFile("./assets/image.svg", (err, buff) => { if (err) throw err; svg.load(buff);});
Learn more about QSvgWidget
in: https://doc.qt.io/qt-6/qsvgwidget.html