aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2023-11-15 14:21:37 +0100
committerPaul Olav Tvete <paul.tvete@qt.io>2023-11-24 17:34:03 +0000
commit4aca22dc1beaaad37db7a96df4b40938fe02acc0 (patch)
treeac512850c496ec8ec318d45127eb1698584f903a /src
parent68875816b4c2ee8a7eb70b25d839e0555ff8ce3f (diff)
Add tool for converting SVG to QML using Shapes
This tool is in tech preview. Only a subset of SVG Tiny works at the moment. The tool does not even support everything that QtSvg supports. Task-number: QTBUG-116883 Change-Id: Ie33f8bf42a5d37b63b86f6816df21960a1ef1071 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qml/doc/src/tools/qtqml-tooling-svgtoqml.qdoc17
-rw-r--r--src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc4
2 files changed, 21 insertions, 0 deletions
diff --git a/src/qml/doc/src/tools/qtqml-tooling-svgtoqml.qdoc b/src/qml/doc/src/tools/qtqml-tooling-svgtoqml.qdoc
new file mode 100644
index 0000000000..28d2683ff9
--- /dev/null
+++ b/src/qml/doc/src/tools/qtqml-tooling-svgtoqml.qdoc
@@ -0,0 +1,17 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
+
+/*!
+\page qtqml-tooling-svgtoqml.html
+\title svgtoqml
+\brief The SVG to QML converter tool
+\ingroup qtqml-tooling
+
+svgtoqml is a command line tool shipped with Qt that converts an SVG document
+to a QML file. This QML file can then be used as a component in Qt Quick
+applications.
+
+\note svgtoqml is currently in a Tech Preview stage. It only supports
+a limited subset of what the QtSvg module supports.
+
+*/
diff --git a/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc b/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc
index 4833f494c0..6ca89f24ce 100644
--- a/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc
+++ b/src/quick/doc/src/guidelines/qtquick-toolsnutilities.qdoc
@@ -113,4 +113,8 @@ The Qt Quick Compiler consist of two components:
\l{QML Language Server} is a tool shipped with Qt that helps you edit
QML code in your favorite (LSP-compatible) editor.
+\section1 SVG to QML converter [tech preview]
+
+The \l{svgtoqml} tool converts an SVG document to a QML file that can be used as a component.
+
*/