diff options
author | kh1 <qt-info@nokia.com> | 2011-05-20 17:15:21 +0200 |
---|---|---|
committer | kh1 <qt-info@nokia.com> | 2011-05-20 17:15:21 +0200 |
commit | 7c82ebac67fefbbf5a44a22340474bf41fbc23e0 (patch) | |
tree | a6af97cadfd79ea63eab0c96122d9712b50a3465 /installerbuilder/common/binaryformat.cpp | |
parent | ebe439befe89d98bdd04967d2d9645dae45fec19 (diff) |
Add some debug output.
Diffstat (limited to 'installerbuilder/common/binaryformat.cpp')
-rw-r--r-- | installerbuilder/common/binaryformat.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/installerbuilder/common/binaryformat.cpp b/installerbuilder/common/binaryformat.cpp index e82e67e50..017c3f902 100644 --- a/installerbuilder/common/binaryformat.cpp +++ b/installerbuilder/common/binaryformat.cpp @@ -910,6 +910,12 @@ BinaryLayout BinaryContent::readBinaryLayout(QIODevice *file, qint64 cookiePos) layout.indexSize = indexSize + sizeof(qint64); layout.endOfData = file->pos(); + verbose() << "Operations start: "<< layout.operationsStart << "; " << "Operations end: " + << layout.operationsEnd << "; " << "Resource count: " << layout.resourceCount << "; " + << "Data block size: " << layout.dataBlockSize << "; " << "Magic marker: " + << layout.magicMarker << "; " << "Magic cookie: " << layout.magicCookie << "; " + << "Index size: " << layout.indexSize << "; " << "End of data: " << layout.endOfData << std::endl; + const qint64 resourceOffsetAndLengtSize = 2 * sizeof(qint64); const qint64 dataBlockStart = layout.endOfData - layout.dataBlockSize; for (int i = 0; i < layout.resourceCount; ++i) { |