I think you just point the settings under tools>options>C/C++ click add and set the appropriate paths to wherever those parts are.
You can list the parts of the mingw64-gcc-c++ package with "repoquery --list mingw64-gcc-c++" there are rpm and yum equivalent commands to do the same I think.