qt: add patch, cleanup