Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to add android opencv library in Qt project

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