diff --git a/share/qtcreator/dumper/qttypes.py b/share/qtcreator/dumper/qttypes.py index 6dad694aacac50ad6144bf2fff0ccfaaf5619661..bddb2c53c9ab390acc9e29413d0f659720c2a593 100644 --- a/share/qtcreator/dumper/qttypes.py +++ b/share/qtcreator/dumper/qttypes.py @@ -721,7 +721,10 @@ def qdump__QObject(d, value): staticMetaObject = value["staticMetaObject"] d_ptr = value["d_ptr"]["d"].cast(privateType.pointer()).dereference() #warn("D_PTR: %s " % d_ptr) - objectName = d_ptr["objectName"] + try: + objectName = d_ptr["objectName"] + except: # Qt 5 + objectName = d_ptr["extraData"].dereference()["objectName"] except: d.putPlainChildren(value) return