RK3588交叉编译QT环境:libz.so.1, needed by libopencv_core.so, not found之类报错
具体:libz.so.1, needed by xxxxx/libopencv_core.so, not found
在QT的.pro文件中,加入如下:
QMAKE_LFLAGS += -Wl,-rpath-link=/home/tony/crosstools/arm-2011.03/arm-none-linux-gnueabi/lib
路径,这个路径才算QTmake能识别的LIB路径