<div dir="ltr"><div>Dear QGIS Developers,<br><br>I am currently trying to create a C++ plugin for QGIS using CMake on Windows, but I’m facing issues during the build process.<br><br>When I configure my project with CMake, I receive the following error:<br><br>> Could not find a package configuration file provided by "QGIS" with any of the following names:<br>> QGISConfig.cmake<br>> qgis-config.cmake<br>><br>> Add the installation prefix of "QGIS" to CMAKE_PREFIX_PATH or set "QGIS_DIR" to a directory containing one of the above files.<br>> If "QGIS" provides a separate development package or SDK, be sure it has been installed.<br><br>I have installed QGIS 3.44.2 through the OSGeo4W Advanced Install option, and I’ve made sure to select and install the following packages:<br><br>- qgis  <br>- qgis-deps  <br>- qgis-common  <br>- qgis-devel  <br><br>Since my plugin uses Qt, I’ve also installed:<br><br>- qt5-devel  <br>- qt5-libs  <br>- qt5-tools  <br>- qt5-libs-symbols  <br><br>Despite this, I’m unable to locate the `QGISConfig.cmake` or `qgis-config.cmake` file in the installation directories (checked under `C:\OSGeo4W\apps\qgis\lib\cmake` and other subfolders).  <br>Additionally, while these packages were installed via OSGeo4W, I also noticed that **CMake itself is not available or detected in the environment**, even though it’s listed as an installable component.<br><br>Could you please guide me on how to properly set up the build environment for a C++ QGIS plugin, and how to make CMake recognize the QGIS development files?  <br>If there is a specific way to enable or locate the `QGISConfig.cmake` file within the OSGeo4W setup, I would really appreciate your advice.<br><br>Thank you very much for your time and assistance.<br><br>Best regards,  <br>Mutukula Chaitanya Kumar<br>Hyderabad, India  <br></div></div>