From 6a98976791b74dd98afa44c4643d26747f99039e Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Wed, 5 Dec 2012 10:11:54 +0900 Subject: Make qtbase compile with QT_NO_IMAGEFORMATPLUGIN Change-Id: I1fef96481fa902cfd9de63fa814f70412eee4d15 Reviewed-by: Oswald Buddenhagen Reviewed-by: aavit --- src/gui/image/qimageiohandler.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/image/qimageiohandler.cpp') 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 -- cgit v1.2.3