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.cpp | |
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.cpp')
-rw-r--r-- | src/gui/image/qimageiohandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qimageiohandler.cpp b/src/gui/image/qimageiohandler.cpp index 8ec2dea431..36757a6f34 100644 --- a/src/gui/image/qimageiohandler.cpp +++ b/src/gui/image/qimageiohandler.cpp @@ -514,6 +514,8 @@ int QImageIOHandler::nextImageDelay() const return 0; } +#ifndef QT_NO_IMAGEFORMATPLUGIN + /*! Constructs an image plugin with the given \a parent. This is invoked automatically by the moc generated code that exports the plugin. @@ -554,4 +556,6 @@ QImageIOPlugin::~QImageIOPlugin() \sa keys() */ +#endif // QT_NO_IMAGEFORMATPLUGIN + QT_END_NAMESPACE |