样例程序 https://gitee.com/beibeix/qt-samples/tree/master/CmakeQt_ui 参考 CMake编译Qt程序+UI+Resourceshttps://qt.developpez.com/doc/5.0-snapshot/cmake-manual/