qt cleanup