我用的是SEED-DM3517开发板。
1、进入根系统。
sudo -i
cd /home/bwp/...
qmake -project
gedit ***.pro
添加路径
INCLUDEPATH += . QT += webkit INCLUDEPATH += /usr/local/opencv-arm/OpenCV/include/opencv LIBS += /usr/local/opencv-arm/OpenCV/lib/libcv.so /usr/local/opencv-arm/OpenCV/lib/libcvaux.so/usr/local/opencv-arm/OpenCV/lib/libcxcore.so/usr/local/opencv-arm/OpenCV/lib/libhighgui.so/usr/local/opencv-arm/OpenCV/lib/libml.so
5、产生makefile
qmake -spec /opt/qt-4.6.2/mkspecs/qws/linux-arm-g++/
产生应用程序,移植就可以了。
注:相关的路径改成相应的安装路径。
原文地址:http://blog.csdn.net/b5w2p0/article/details/39101087