Support Scoop installation for OpenAPI Generator CLI on windows


- Detect whether OpenAPI Generator CLI was installed via scoop by
invoking powershell and running `scoop which openapi-generator-cli`.
This command returns a path such as:
 "~/scoop/apps/openapi-generator-cli/current/openapi-generator-cli",
which differs from the executable path found via `find_program`:
"~/scoop/shims/openapi-generator-cli".

Using the path from the scoop command is preferred because the cli
resides in the same directory as the jar file.

- Set OPENAPI_GENERATOR_CLI_JAR if the jar path exists.

Fixes: QTBUG-142545
Pick-to: 6.11
Change-Id: Ib9405e603a12a54562fb373cef147fd36774437a
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit7e8377479f64fe25da387f2fb1fcff7371e50093
parent6e451d92bac2edb7975db80466c2214b5fa21faa
authorRym Bouabid <rym.bouabid@qt.io>
committerRym Bouabid <rym.bouabid@qt.io>
commit timeWed, 28 Jan 2026 15:18:24 +0100