diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2011-01-10 12:16:00 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2011-01-11 10:41:27 (GMT) |
commit | 619cb18022baaea3020dd15369c67b2bc07f5f86 (patch) | |
tree | 4e40a8727835fe7e306e7178a504ef201eb835e8 /src/declarative | |
parent | 78d6465a6db7e99720adef8e24803e75cbd8dd65 (diff) | |
download | Qt-619cb18022baaea3020dd15369c67b2bc07f5f86.zip Qt-619cb18022baaea3020dd15369c67b2bc07f5f86.tar.gz Qt-619cb18022baaea3020dd15369c67b2bc07f5f86.tar.bz2 |
QDeclarativeDebug: Hardcode version when serializing Qt types
Make sure that e.g. QtCreator compiled with 4.7 can debug a program
compiled with 4.8.
Reviewed-by: Christiaan Janssen
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/debugger/qpacketprotocol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/debugger/qpacketprotocol.cpp b/src/declarative/debugger/qpacketprotocol.cpp index ad1e767..1d056e4 100644 --- a/src/declarative/debugger/qpacketprotocol.cpp +++ b/src/declarative/debugger/qpacketprotocol.cpp @@ -407,6 +407,7 @@ QPacket::QPacket() buf = new QBuffer(&b); buf->open(QIODevice::WriteOnly); setDevice(buf); + setVersion(QDataStream::Qt_4_7); } /*! |