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.cpp | |
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.cpp')
-rw-r--r-- | src/plugins/imageformats/dds/qddshandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/imageformats/dds/qddshandler.cpp b/src/plugins/imageformats/dds/qddshandler.cpp index efe435d..2b132b5 100644 --- a/src/plugins/imageformats/dds/qddshandler.cpp +++ b/src/plugins/imageformats/dds/qddshandler.cpp @@ -49,6 +49,8 @@ #include "ddsheader.h" +#ifndef QT_NO_DATASTREAM + QT_BEGIN_NAMESPACE enum Colors { @@ -1433,3 +1435,5 @@ bool QDDSHandler::verifyHeader(const DDSHeader &dds) const } QT_END_NAMESPACE + +#endif // QT_NO_DATASTREAM |