#include #include QT_BEGIN_NAMESPACE class QRPIJpegPlugin : public QImageIOPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QImageIOHandlerFactoryInterface" FILE "jpeg.json") public: Capabilities capabilities(QIODevice *device, const QByteArray &format) const Q_DECL_OVERRIDE; QImageIOHandler *create(QIODevice *device, const QByteArray &format = QByteArray()) const Q_DECL_OVERRIDE; }; QT_END_NAMESPACE