CMake is a set of cross-platform tools used for generating make files for different types of projects, such as Visual Studio and Qt. CMake uses a simple configuration file called CMakeLists.txt and can be easily modified to suit your needs. Since CMake is a third-party tool, you don't get much information from Qt's official documentation. Instead, you can read the documentation provided by CMake at https://cmake.org/documentation.
Therefore, if you decided that you prefer to use CMake instead of the default qmake provided by Qt, you then no longer create a .pro project file for your Qt projects. Instead, you create CMakeLists.txt as your project file and manually add the paths to your source files, libraries, and compiler ...