aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/debugger/qttypes.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/debugger/qttypes.py')
-rw-r--r--share/qtcreator/debugger/qttypes.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/share/qtcreator/debugger/qttypes.py b/share/qtcreator/debugger/qttypes.py
index 0877634a3c..69443b6cdc 100644
--- a/share/qtcreator/debugger/qttypes.py
+++ b/share/qtcreator/debugger/qttypes.py
@@ -487,12 +487,20 @@ def qdump__QFile(d, value):
# 9fc0965 and a373ffcd change the layout of the private structure
qtVersion = d.qtVersion()
is32bit = d.ptrSize() == 4
- if qtVersion >= 0x050600:
+ if qtVersion >= 0x050700:
if d.isWindowsTarget():
if d.isMsvcTarget():
offset = 184 if is32bit else 248
else:
- offset = 164 if is32bit else 248
+ offset = 172 if is32bit else 248
+ else:
+ offset = 168 if is32bit else 248
+ elif qtVersion >= 0x050600:
+ if d.isWindowsTarget():
+ if d.isMsvcTarget():
+ offset = 184 if is32bit else 248
+ else:
+ offset = 180 if is32bit else 248
else:
offset = 168 if is32bit else 248
elif qtVersion >= 0x050500: