文章摘要: 修改/usr/lib/qt-3.3/mkspecs/default/qmake.conf 添加 QMAKE_INCDIR = /usr/local/include/opencv QMAKE_LIBS = -lcvaux -lcv -lcxcore -lhighgui -lml 编译成功。
修改/usr/lib/qt-3.3/mkspecs/default/qmake.conf
添加
QMAKE_INCDIR = /usr/local/include/opencv
QMAKE_LIBS = -lcvaux -lcv -lcxcore -lhighgui -lml
编译成功。