关于qt上配置opencv3.0的问题
opencv吧
全部回复
仅看楼主
level 11
☞da0404 楼主
用cmake的时候出现了下面这个,求帮忙
2015年07月21日 15点07分 1
level 11
☞da0404 楼主
Add the installation prefix of "Qt5Test" to CMAKE_PREFIX_PATH or set
"Qt5Test_DIR" to a directory containing one of the above files. If
"Qt5Test" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:524 (include)
CMake Warning at cmake/OpenCVFindLibsGUI.cmake:22 (find_package):
By not providing "FindQt5Concurrent.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5Concurrent", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Concurrent"
with any of the following names:
Qt5ConcurrentConfig.cmake
qt5concurrent-config.cmake
Add the installation prefix of "Qt5Concurrent" to CMAKE_PREFIX_PATH or set
"Qt5Concurrent_DIR" to a directory containing one of the above files. If
"Qt5Concurrent" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:524 (include)
CMake Error at D:/CMake/share/cmake-3.3/Modules/FindQt4.cmake:1326 (message):
Found unsuitable Qt version "" from NOTFOUND, this code requires Qt 4.x
Call Stack (most recent call first):
cmake/OpenCVFindLibsGUI.cmake:34 (find_package)
CMakeLists.txt:524 (include)
2015年07月21日 15点07分 2
level 11
☞da0404 楼主
楼上是错误的信息,求解救
2015年07月21日 15点07分 3
level 11
☞da0404 楼主
添加的“Qt5Test”安装前缀CMAKE_PREFIX_PATH或集
“Qt5Test_DIR”含有的上述文件之一的目录。如果
“Qt5Test”提供了一个单独的开发包SDK或者,可以肯定它具有
安装完毕。
调用堆栈(最近一次调用在前):
的CMakeLists.txt:524(包括)
CMake的警告在cmake的/ OpenCVFindLibsGUI.cmake:22(find_package):
通过在CMAKE_MODULE_PATH这不是提供“FindQt5Concurrent.cmake”
项目已要求CMake的寻找提供的程序包配置文件
“Qt5Concurrent”,但是CMake的一个也没找到。
找不到的“Qt5Concurrent”提供了一个程序包配置文件
与任何以下名称:
Qt5ConcurrentConfig.cmake
qt5concurrent-config.cmake
添加的“Qt5Concurrent”安装前缀CMAKE_PREFIX_PATH或集
“Qt5Concurrent_DIR”含有的上述文件之一的目录。如果
“Qt5Concurrent”提供了一个单独的开发包SDK或者,可以肯定的是
已安装。
调用堆栈(最近一次调用在前):
的CMakeLists.txt:524(包括)
CMake的错误在D:/CMake/share/cmake-3.3/Modules/FindQt4.cmake:1326(信息):
从发现不适宜NOTFOUND版本的Qt“”,该代码需要Qt 4.x的
调用堆栈(最近一次调用在前):
cmake的/ OpenCVFindLibsGUI.cmake:34(find_package)
的CMakeLists.txt:524(包括)
2015年07月21日 15点07分 4
level 11
☞da0404 楼主
2015年07月21日 16点07分 5
你的这个问题是否已经解决???如何解决能否告知一下???
2015年11月08日 09点11分
@jamesman_xu 你qt是什么版本的
2015年11月08日 16点11分
@jamesman_xu 还有把上面几个红色的相应路径加进去就可以了
2015年11月08日 16点11分
@☞da0404 谢谢:)
2015年11月25日 11点11分
level 6
可能是Qt cmake路径没加入到电脑环境变量中。。加完之后重启电脑试试
2015年08月10日 04点08分 6
level 12
作为新人。一直以来都只是默默得顶帖 不敢大声说话。
毕竟喷子辣么多 好阔怕[乖]
2015年11月09日 13点11分 7
[笑眼]
2015年11月10日 03点11分
Add "C:\Qt\Qt5.5.1\5.5\mingw492_32\lib\cmake" to system path!Try again!
2015年11月28日 02点11分
level 2
http://blog.csdn.net/u014291399/article/details/44992917
鄙人的一个上古帖子,希望楼主能光临。
2016年03月31日 02点03分 8
谢谢[玫瑰]
2016年07月05日 09点07分
找了一晚上终于找到解决问题的帖子了,感激不尽,谢谢[玫瑰]
2018年04月11日 13点04分
@太阳系矿工💫 不用,那个帖子都是好久以前的事情了,最新的3.x版本听说挺稳定的,可以试试
2018年04月12日 01点04分
level 6
我编译opencv 3.0成功了,但3.1不行,你下个版本高点的qt,这样里面的mingw编译版本高
2016年07月08日 10点07分 9
[狂汗][狂汗][狂汗]我弄了好长时间都没弄好。翻到了这个上古帖子。你弄好的lib文件夹和bin文件夹还在吗?能给我一份吗?
2018年04月10日 13点04分
level 11
你要先设置好环境变量,cmake一个,qt两个
2016年07月09日 22点07分 10
1