- Ensure QTDIR environment variable is set to something like:
C:\Qt\<cmake-version>\<compiler-arch>
- In order for Qt DLLs to be found, PATH must include something like:
C:\Qt\<cmake-version>\<compiler-arch>\bin
- CMakePresets.json will include something like the following definition, this will be part of the top level configuration preset that all CMake presets will inherit from. CMakeUserPresets.json should be used for defining the final build preset, along with any paths to local CMake libraries on the user's development machine.
CMAKE_PREFIX_PATH": "$env{QTDIR}"
- Log in to post comments
Comments