It is a sample project, created for the helping purpose related to two topics:
1- Creating a Qt project using CMake tool.
2- Importing Gtest into an existing CMake Project,based on google document related to importing gtest into the existing cmake project.
Here is link of google doc https://github.com/google/googletest/tree/master/googletest#incorporating-into-an-existing-cmake-project
1- mkdir build
2- cd build
3- cmake ..
4- make
5- make install
Note: Need a proper internet connection to clone the gtest repo, also please change the Qt lib path in CMakeLists.txt as per your machine