Ask Your Question

Why doesnt QT get detected when I want to build openCV?

asked 2012-09-13 23:13:24 -0600

ZachTM gravatar image

I am trying to build openCV with QT so I installed libqt4-dev but when I run cmake I get this line:

 QT 4.x:                      NO

I ran ldconfig so I do not know why it isnt being detected. DOes anyone know?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-09-13 23:58:41 -0600

Daniil Osokin gravatar image

Hi! Try to specify -DWITH_QT:BOOL=ON as parameter of cmake.

edit flag offensive delete link more

answered 2012-09-14 00:47:56 -0600

hkaraoguz gravatar image

Maybe you should manually edit qt paths using ccmake during configuration step

edit flag offensive delete link more

Question Tools


Asked: 2012-09-13 23:13:24 -0600

Seen: 537 times

Last updated: Sep 14 '12