From cf61ca4846f59140341c46329fe451bb6f0ac4a4 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Wed, 22 Mar 2017 14:27:09 +0100 Subject: [PATCH] Debugger: Fix QHostAddress padding for MinGW Change-Id: I97f52587767537a5730753b593bc024e270bbd5e Reviewed-by: Christian Stenger --- share/qtcreator/debugger/qttypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/debugger/qttypes.py b/share/qtcreator/debugger/qttypes.py index 69443b6cdc4..ce7cda3f526 100644 --- a/share/qtcreator/debugger/qttypes.py +++ b/share/qtcreator/debugger/qttypes.py @@ -763,7 +763,7 @@ 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 - if d.ptrSize() == 8 or d.isMsvcTarget(): + if d.ptrSize() == 8 or d.isWindowsTarget(): (ipString, scopeId, a4, pad, a6, protocol, isParsed) \ = d.split('{QString}{QString}{quint32}I16sI{bool}', dd) else: