Use Qt for object cleanup