qt_detect_msvc_and_qt
List available MSVC, MinGW toolchains and Qt installations, then prompt the user to select the compiler and Qt version for building.
Instructions
Detect MSVC (Visual Studio), MinGW toolchains, and Qt installations available for building.
IMPORTANT — this tool only discovers and displays what is found on this machine. It does NOT select an environment automatically.
After calling this tool, the AI MUST use AskUserQuestion to present
the found installations to the user and let them choose which compiler
and Qt to use with qt_build. For an MSVC Qt kit
(kit == "msvc") pass the VS vcvars_path + the kit's
qtenv_path with toolchain="msvc"; for a MinGW kit
(kit == "mingw") pass a MinGW toolchain's bin dir (from
mingw_toolchains) + the kit's qtenv_path (MinGW kits ship
qtenv2.bat too) with toolchain="mingw".
If detection finds nothing (or misses an installation the user knows
about), the user can type the paths manually.
Returns three lists: vs_installations, mingw_toolchains, and
qt_installations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |