Also used 'int' instead of QDeclarativeDebugObjectReference for the debug id in order not to use the private API from QMLJS