@[TOC](Qt调用opencv报错👎 warning: libopencv_flann.so.406, needed by **//libopencv_features2d.so, not found (try using -rpath or -rpath-link))
最终提示使用-rpath,于是抱着试试看的方法改写.pro文件:
QMAKE_LIBDIR_FLAGS += -Wl,-rpath=../../thirdparty/opencv-4.6.0/install/lib/
最终编译通过了,希望指正!