Unsolved Qt Creator MSYS2 "Cmake executable does not provide required IDE integration"
-
Hello,
I'm trying to use MSYS2 with Qt Creator. So I created a new Kit and tried to set the cmake executable path to the msys mingw64 path: C:\msys64\mingw64\bin\cmake.exe
but next to the name an error sign is visible and when hovering the cmake entry the following message appears:Supports file API: false
Detection source: ""
Cmake executable does not provide required IDE integrationI checked the mingw64 cmake version and it is 3.22.2 so it newer than 3.14 where the file API support was added.
Does anybody know why I get this message?
-
I have the same problem... Did you solved it?
Thanks! -
Qt Creator tries to run
C:\msys64\mingw64\bin\cmake.exe
outside of a MSYS2 context and the necessary libraries are not in path and unfortunately the error message is not helping you fix the issue.You need to have
C:\msys64\mingw64\bin
in PATH in either the Kit's environment setting or in Options -> Environment -> System.The setting should look something like:
PATH=C:\msys64\mingw64\bin\;${PATH}
-
I faced the same issue after changing
Options -> Environment -> Interface -> Text codec for tools
tounicode
. Fixed by reverting back to default (windows-1252
).