@jsulm Thank you, I try that ASAP.
It works fine either on Desktop and Wasm. Now I need to plug my data.
void MainWindow::exporter()
{
QSvgGenerator SG;
SG.setSize(QSize(200, 200));
SG.setViewBox(QRect(0, 0, 200, 200));
SG.setTitle(tr("SVG Generator Example Drawing"));
SG.setDescription(tr("An SVG drawing created by the SVG Generator "
"Example provided with Qt."));
QPainter painter;
QBuffer buffer;
SG.setOutputDevice(&buffer);
painter.begin(&SG);
painter.end();
QFileDialog::saveFileContent(buffer.data(), "myExport.svg");
}