mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
do not build the Katie image format handler if QT_NO_IMAGEFORMAT_KAT is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
dbb384c991
commit
73619d7898
2 changed files with 8 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
||||||
|
|
||||||
#include "qkathandler_p.h"
|
#include "qkathandler_p.h"
|
||||||
|
|
||||||
|
#ifndef QT_NO_IMAGEFORMAT_KAT
|
||||||
|
|
||||||
#include "qimage.h"
|
#include "qimage.h"
|
||||||
#include "qimage_p.h"
|
#include "qimage_p.h"
|
||||||
#include "qbuffer.h"
|
#include "qbuffer.h"
|
||||||
|
@ -224,3 +226,5 @@ QByteArray QKatHandler::name() const
|
||||||
}
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
#endif // QT_NO_IMAGEFORMAT_KAT
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
|
|
||||||
#include "QtGui/qimageiohandler.h"
|
#include "QtGui/qimageiohandler.h"
|
||||||
|
|
||||||
|
#ifndef QT_NO_IMAGEFORMAT_KAT
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class QKatHandler : public QImageIOHandler
|
class QKatHandler : public QImageIOHandler
|
||||||
|
@ -59,4 +61,6 @@ private:
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
#endif // QT_NO_IMAGEFORMAT_KAT
|
||||||
|
|
||||||
#endif // QKATHANDLER_P_H
|
#endif // QKATHANDLER_P_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue