a simple demo shows that how to make qt program with cmakelist build on ubuntu : mkdir build cd build cmake .. make -j4 ./CMake_Qt