diff options
author | Tasuku Suzuki <stasuku@gmail.com> | 2012-12-05 10:11:54 +0900 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-05 15:30:07 +0100 |
commit | 6a98976791b74dd98afa44c4643d26747f99039e (patch) | |
tree | 8c9658d639b74817804b9476413e57cd792fa9c5 /src/gui/image/qimageiohandler.h | |
parent | 21e8ef1fefa5f8f2e93da89510627373a8ccdd16 (diff) |
Make qtbase compile with QT_NO_IMAGEFORMATPLUGINv5.0.0-rc1
Change-Id: I1fef96481fa902cfd9de63fa814f70412eee4d15
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: aavit <eirik.aavitsland@digia.com>
Diffstat (limited to 'src/gui/image/qimageiohandler.h')
-rw-r--r-- | src/gui/image/qimageiohandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qimageiohandler.h b/src/gui/image/qimageiohandler.h index 62f7ba1163..1f94099478 100644 --- a/src/gui/image/qimageiohandler.h +++ b/src/gui/image/qimageiohandler.h @@ -114,6 +114,8 @@ private: Q_DISABLE_COPY(QImageIOHandler) }; +#ifndef QT_NO_IMAGEFORMATPLUGIN + #define QImageIOHandlerFactoryInterface_iid "org.qt-project.Qt.QImageIOHandlerFactoryInterface" class Q_GUI_EXPORT QImageIOPlugin : public QObject @@ -136,6 +138,8 @@ public: Q_DECLARE_OPERATORS_FOR_FLAGS(QImageIOPlugin::Capabilities) +#endif // QT_NO_IMAGEFORMATPLUGIN + QT_END_NAMESPACE QT_END_HEADER |