![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qurl.h>
#include "qquickvectorimage_p.h"
#include "qquickvectorimage_p_p.h"
#include <QtQuickVectorImageGenerator/private/qquickitemgenerator_p.h>
#include <QtQuickVectorImageGenerator/private/qquickvectorimageglobal_p.h>
#include <QtQuickVectorImageGenerator/private/qquickvectorimageplugin_p.h>
#include <QtCore/qloggingcategory.h>
#include <private/qquicktranslate_p.h>
#include <private/qfactoryloader_p.h>
#include <moc_qquickvectorimage_p.cpp>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE | Q_GLOBAL_STATIC_WITH_ARGS (QFactoryLoader, vectorImagePluginLoader,(QQuickVectorImageFormatsPluginFactory_iid, QLatin1String("/vectorimageformats"), Qt::CaseInsensitive)) void QQuickVectorImagePrivate |
\qmlmodule QtQuick.VectorImage \title Qt Quick Vector Image QML Types |
QT_BEGIN_NAMESPACE Q_GLOBAL_STATIC_WITH_ARGS | ( | QFactoryLoader | , |
vectorImagePluginLoader | , | ||
(QQuickVectorImageFormatsPluginFactory_iid, QLatin1String("/vectorimageformats"), Qt::CaseInsensitive) | ) |
\qmlmodule QtQuick.VectorImage \title Qt Quick Vector Image QML Types
Provides QML types for displaying vector image files.
To use the types in this module, import the module with the following line:
\qml import QtQuick.VectorImage \endqml
Qt Quick Vector Image provides support for displaying vector image files in a Qt Quick scene.
It currently supports the SVG
file format. In addition, Lottie support can be enabled by setting the \l{assumeTrustedSource} property to true and including the plugin from the \l{Qt Lottie Animation} module. This plugin is currently considered tech preview.
Qt supports multiple options for displaying SVG files. For an overview and comparison of the different ones, see the documentation of the \l{svgtoqml} tool.
Definition at line 18 of file qquickvectorimage.cpp.