Commit 3fd95f81 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: remove attempt to discover private QObject data

This worked only for real QObjectData derived data classes but failed for
pimpls with the same naming conventions that are not QObjectData derived.

Change-Id: I52765b554addcec550c346b4fc93c836772d0463

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarEike Ziller <>
Reviewed-by: default avatarhjk <>
parent 6e590862
......@@ -669,11 +669,8 @@ def extractCString(table, offset):
def qdump__QObject(d, item):
#warn("OBJECT: %s " % item.value)
privateTypeName = str(item.value.type) + "Private"
privateTypeName = d.ns + "QObjectPrivate"
privateType = lookupType(privateTypeName)
if privateType is None:
privateTypeName = d.ns + "QObjectPrivate"
privateType = lookupType(privateTypeName)
staticMetaObject = item.value["staticMetaObject"]
d_ptr = item.value["d_ptr"]["d"].cast(privateType.pointer()).dereference()
#warn("D_PTR: %s " % d_ptr)
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