Make qtbase compile with QT_NO_IMAGEFORMATPLUGIN
qfeatures.h re-generated from qfeatures.txt because QT_NO_IMAGEFORMATPLUGIN was missing Change-Id: I1c9291529ec07f83f99c9cd08340cbfebda609b6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
parent
f1e74c0741
commit
01f3ef2050
@ -238,7 +238,7 @@
|
||||
// QWheelEvent
|
||||
//#define QT_NO_WHEELEVENT
|
||||
|
||||
//
|
||||
//
|
||||
//#define QT_NO_XMLSTREAM
|
||||
|
||||
// Animation
|
||||
@ -301,6 +301,11 @@
|
||||
#define QT_NO_IM
|
||||
#endif
|
||||
|
||||
// QImageIOPlugin
|
||||
#if !defined(QT_NO_IMAGEFORMATPLUGIN) && (defined(QT_NO_LIBRARY))
|
||||
#define QT_NO_IMAGEFORMATPLUGIN
|
||||
#endif
|
||||
|
||||
// QLocalServer
|
||||
#if !defined(QT_NO_LOCALSERVER) && (defined(QT_NO_TEMPORARYFILE))
|
||||
#define QT_NO_LOCALSERVER
|
||||
|
@ -1513,9 +1513,9 @@ QList<QByteArray> QImageReader::supportedMimeTypes()
|
||||
for (int i = 0; i < _qt_NumFormats; ++i)
|
||||
mimeTypes << _qt_BuiltInFormats[i].mimeType;
|
||||
|
||||
#ifndef QT_NO_LIBRARY
|
||||
#ifndef QT_NO_IMAGEFORMATPLUGIN
|
||||
supportedImageHandlerMimeTypes(loader(), QImageIOPlugin::CanRead, &mimeTypes);
|
||||
#endif // QT_NO_LIBRARY
|
||||
#endif // QT_NO_IMAGEFORMATPLUGIN
|
||||
|
||||
QList<QByteArray> sortedMimeTypes;
|
||||
for (QSet<QByteArray>::ConstIterator it = mimeTypes.constBegin(); it != mimeTypes.constEnd(); ++it)
|
||||
|
@ -789,9 +789,9 @@ QList<QByteArray> QImageWriter::supportedMimeTypes()
|
||||
mimeTypes << "image/jpeg";
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_LIBRARY
|
||||
#ifndef QT_NO_IMAGEFORMATPLUGIN
|
||||
supportedImageHandlerMimeTypes(loader(), QImageIOPlugin::CanWrite, &mimeTypes);
|
||||
#endif // QT_NO_LIBRARY
|
||||
#endif // QT_NO_IMAGEFORMATPLUGIN
|
||||
|
||||
QList<QByteArray> sortedMimeTypes;
|
||||
for (QSet<QByteArray>::ConstIterator it = mimeTypes.constBegin(); it != mimeTypes.constEnd(); ++it)
|
||||
|
Loading…
Reference in New Issue
Block a user