[yocto] building OpenCV with Qt

Adriaan Verheij A.Verheij at EandSDesign.com
Wed Dec 10 08:22:45 PST 2014


Hello All,

 

I am trying to build a Linux image for Gumstix (based on
gumstix-consol-image) with openCV using Qt.

The problem is that findQt4.cmake identifies
sysroots/x86_64-linux/usr/bin/qmake2 as the Qt4 source, which causes the
wrong .h files to be included, which causes the compiler to barf on some asm
instructions.

 

OpenCV defaults to using GTK+, so I altered the openCV_2.4.bb file to
include the line

..

PACKAGECONFIG[qt4-embedded] = "-DWITH_QT=4,-DWITH_QT=OFF,qt4-embedded,"

..

 

Has anyone been able to build OpenCV using Qt ?

 

Thanks!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141210/554f84a6/attachment.html>


More information about the yocto mailing list