diff --git a/share/qtcreator/debugger/qttypes.py b/share/qtcreator/debugger/qttypes.py index 61de98ed3ce..0d154a1e633 100644 --- a/share/qtcreator/debugger/qttypes.py +++ b/share/qtcreator/debugger/qttypes.py @@ -353,7 +353,8 @@ def qdump__QDateTime(d, value): def qdump__QDir(d, value): - d.putNumChild(1) + if not d.isMsvcTarget(): + d.putNumChild(1) privAddress = d.extractPointer(value) bit32 = d.ptrSize() == 4 qt5 = d.qtVersion() >= 0x050000 @@ -424,7 +425,7 @@ def qdump__QDir(d, value): absoluteDirEntryOffset = dirEntryOffset + fileSystemEntrySize d.putStringValue(privAddress + dirEntryOffset) - if d.isExpanded(): + if d.isExpanded() and not d.isMsvcTarget(): with Children(d): ns = d.qtNamespace() d.call('int', value, 'count') # Fill cache.