19 lines
536 B
C++
19 lines
536 B
C++
// Copyright (C) 2024 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
|
|
|
#include <qimageiohandler.h>
|
|
|
|
class TestImagePlugin : public QImageIOPlugin
|
|
{
|
|
Q_OBJECT
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface")
|
|
public:
|
|
Capabilities capabilities(QIODevice *, const QByteArray &) const override { return {}; }
|
|
QImageIOHandler *create(QIODevice *, const QByteArray & = QByteArray()) const override
|
|
{
|
|
return nullptr;
|
|
}
|
|
};
|
|
|
|
#include "plugin.moc"
|