CommonTK框架之Qt5配置cmake脚本
源码获取
CMake配置
- 打开下图的
CMake脚本
文件 - 添加下面的代码
SET(CTK_QT_VERSION 5)
SET(CMAKE_PREFIX_PATH
${CMAKE_PREFIX_PATH}
"C:/major/development/tools/qt/5.14/install/5.14./msvc2015_64"
)
- 添加的脚本代码位置如下图
C:/major/development/tools/qt/5.14/install/5.14./msvc2015_64
为 本机Qt的安装路径,