Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Bad news: it is not about simply ordering the libs...

I also use OpenCV for Android with Qt 5.12.3 and also couldn't make the application link. I couldn't find a way to make any prebuilt OpenCV version to work (I tried many variations of all the relevant components) and finally I understood and accepted that with v. 4 one needs to use shared libraries, that is, use .so files, not .a, and a version of OpenCV that is built for the NDK version used (which would be v. 19 for 5.12.3).

That meant self-building OpenCV. Luckily, there were recipes for that. If I remember correctly, I did it like here: https://www.tal.org/tutorials/build_opencv_qt_android

(Of course the commands need "some" tailoring depending on any particular development system organization.)