Build opencv-python for Qnx in cross-compiling environment under Ubuntu


I have tried to build opencv-python headless for qnx using opencv source instead of opencv-python. We can build the CPP libraries and cpython library under cross-compile environment.

When looking at the opencv-python-headless in linux, there were two folders structured as cv2 and opencv.libs but the key opencv CPP libraries are not there, but other files like libssl

I would like to follow this structure,

  • shall we, in python_loader folder, modify those .py and create opencv_python.libs and put CPP libraries there

  • How to enable the opencv_python.libs were read first instead of /system/lib

Thanks for help.