Yocto Project Discussions
 help / color / mirror / Atom feed
* building OpenCV with Qt
@ 2014-12-10 16:22 Adriaan Verheij
  0 siblings, 0 replies; only message in thread
From: Adriaan Verheij @ 2014-12-10 16:22 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

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!

 


[-- Attachment #2: Type: text/html, Size: 2969 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-10 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10 16:22 building OpenCV with Qt Adriaan Verheij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox