{%r%}
报错提示:
Could not find a package configuration file provided by "Qt5Core"
{%endr%}
{%g%}
解决方案:
SET(CMAKE_PREFIX_PATH /opt/Qt5.6.2/5.6/gcc_64)
其中 /opt/Qt5.6.2/5.6/gcc_64 换成对应的Qt安装路径。
{%endg%}
参考链接:
https://blog.csdn.net/zzw17wei/article/details/79850704