Ask Your Question
0

how to add android opencv library in Qt project

asked 2015-04-02 04:08:32 -0600

borune gravatar image

hey guys!

could anybody help me with setting up qt project for using opencv on android? my pro file looks like this:

...
ANDROID_OPENCV = ../opencv2410androidsdk/sdk/native
INCLUDEPATH += $ANDROID_OPENCV/jni/include/
LIBS += -L$$ANDROID_OPENCV/libs/armeabi-v7a\\\*
...

opencv2410androidsdk is directory, where opencv for android was unzipped

The problem is that qt doesn't see given libraries and gives me many errors like "undefined reference to .." in each place when i try to use opencv objects and methods.

Could anybody help me pls

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-16 08:39:46 -0600

pi-null-mezon gravatar image

Check this link, it is 100 % worked for me.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-02 04:08:32 -0600

Seen: 1,351 times

Last updated: Jan 16 '17