刚打开会报错:
error: Qt Creator needs a CMake Tool set up to build. Configure a CMake Tool in the kit options.
原因:http://doc.qt.io/qtcreator/creator-project-cmake.html
就是说你根本没往Qt中添加Cmake可执行文件的路径
1,添加cmake路径:
在命令行输入
which cmake
会输出cmake的路径,添加到Qt的build and run的cmake里面
2,把这个cmake添加到kit
上面的cmake会自动添加到kit里
但是还是报错:
The kit Desktop Qt 5.8.0 clang 64bit has configuration issues which might be the root cause for this problem.
如果用命令行执行cmake会提示找不到OpenCV,先解决这个问题。
参考http://www.luohanjie.com/2016-11-14/compilation-of-opencv-under-mac-counld-not-find-module-findopencv-cmake-wrong-solution.html
**执行
brew ln opencv3 --force


6552

被折叠的 条评论
为什么被折叠?



