Commit 3d357e10 authored by hjk's avatar hjk

Debugger: Fix QHostAddress dumper for Qt 5.6.0/32bit

Change-Id: I527d2e4fa7c3be9fd0a38694319b47e3ebe07497
Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
parent ef48f5e4
......@@ -713,8 +713,12 @@ def qdump__QHostAddress(d, value):
(ipString, scopeId, a4, pad, a6, protocol, isParsed) \
= d.split("{QString}{QString}{quint32}I16sI{bool}", dd)
elif qtVersion >= 0x050600: # 5.6.0 at f3aabb42
(ipString, scopeId, a4, pad, a6, protocol, isParsed) \
= d.split("{QString}{QString}{quint32}I16sI{bool}", dd)
if d.ptrSize() == 8:
(ipString, scopeId, a4, pad, a6, protocol, isParsed) \
= d.split("{QString}{QString}{quint32}I16sI{bool}", dd)
else:
(ipString, scopeId, a4, a6, protocol, isParsed) \
= d.split("{QString}{QString}{quint32}16sI{bool}", dd)
elif qtVersion >= 0x050000: # 5.2.0 at 62feb088
(ipString, scopeId, a4, a6, protocol, isParsed) \
= d.split("{QString}{QString}{quint32}16sI{bool}", dd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment