trying to get qPointer to work