Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include <qiconengineplugin.h>
5#include <qstringlist.h>
6
8
9#include <qiodevice.h>
10#include <qbytearray.h>
11#include <qdebug.h>
12
14
16{
17 Q_OBJECT
18#ifndef QT_NO_COMPRESS
19 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QIconEngineFactoryInterface" FILE "qsvgiconengine.json")
20#else
21 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QIconEngineFactoryInterface" FILE "qsvgiconengine-nocompress.json")
22#endif
23
24public:
26};
27
28QIconEngine *QSvgIconPlugin::create(const QString &)
29{
30 QSvgIconEngine *engine = new QSvgIconEngine;
31 return engine;
32}
33
34QT_END_NAMESPACE
35
36#include "main.moc"