diff options
author | ABBAPOH <ABBAPOH@nextmail.ru> | 2013-12-13 19:12:23 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-13 16:39:38 +0100 |
commit | 481275bf95128b71a2b70f99142a3e39a3b3507e (patch) | |
tree | b4fb36f3b278e7f932794debfd4ae42cdb6d4a6d /src/plugins/imageformats/dds/qddshandler.h | |
parent | c4e79ef1f99b5802d78e1d7b68ee086e63a183be (diff) |
Fix build of the DDS plugin without QDataStream
Change-Id: I854c3bd82f244a6c45d91b08c3f1271538fd536a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/imageformats/dds/qddshandler.h')
-rw-r--r-- | src/plugins/imageformats/dds/qddshandler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/imageformats/dds/qddshandler.h b/src/plugins/imageformats/dds/qddshandler.h index 0093327..542bd35 100644 --- a/src/plugins/imageformats/dds/qddshandler.h +++ b/src/plugins/imageformats/dds/qddshandler.h @@ -46,6 +46,8 @@ #include <QtGui/qimageiohandler.h> #include "ddsheader.h" +#ifndef QT_NO_DATASTREAM + QT_BEGIN_NAMESPACE class QDDSHandler : public QImageIOHandler @@ -81,4 +83,6 @@ private: QT_END_NAMESPACE +#endif // QT_NO_DATASTREAM + #endif // QDDSHANDLER_H |