[qt] format, clean up