hi, could you paste error you had?
and what do you mean by auto pointer? is it QPointer? Or maybe it is some data type not from qt?