Improve cooking application


- Add command line options to print help and version. The version is set
  to 6.5.7 since that is the oldest version for this commit. The plan is
  to follow the Qt version when updating the tool in the future.
- Support several input files.
- Improve error messages by printing the file that is failing to cook.
- Add missing std::endl.
- Release PhysX objects.

Fixes: QTBUG-127319
Pick-to: 6.8 6.7 6.5
Change-Id: Ie31e6e59df999c3939fdea43501d6b04258764de
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
commit6d5f50eaaef719d384f81bb52f35a56c15dad021
parentca61c4bb66408a17742a819080db1d6dc4d9f9da
authorJonas Karlsson <jonas.karlsson@qt.io>
committerJonas Karlsson <jonas.karlsson@qt.io>
commit timeTue, 6 Aug 2024 09:15:46 +0200