Support Homebrew installation for OpenAPI Generator CLI on macOS


- Detect OpenAPI Generator installed via Homebrew using `brew --prefix`.
- Use the Homebrew prefix to locate the jar at
  "<prefix>/libexec/openapi-generator-cli.jar".
  This ensures the jar path works regardless of the architecture (Apple
  Silicon vs Intel) or the installed openapi generator's version instead
  of guessing from the executable path.
- Set OPENAPI_GENERATOR_CLI_JAR if the jar path exists.

Task-number: QTBUG-142545
Pick-to: 6.11
Change-Id: I836507263caa58998103cbc144d43e23256f59b5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commit6e451d92bac2edb7975db80466c2214b5fa21faa
parenta9831bcbacf8c570afef8717b12d1daf2001249e
authorRym Bouabid <rym.bouabid@qt.io>
committerRym Bouabid <rym.bouabid@qt.io>
commit timeWed, 28 Jan 2026 15:18:19 +0100