gross hack to support QPointer