Home > Mobile >  Qt how to pack a third-party library under MAC (opencv)
Qt how to pack a third-party library under MAC (opencv)

Time:03-19

After using macdeployqt

Reuse OTOOL -l

Use install_name_tool will change all the local path to @ executable_path/../Frameworks/XXXXXXXX

But when I use a MAC open, but can't open

Dyld Error Message:
The Library not the loaded:/usr/local/opt/openblas/lib/libopenblas 0. Dylib
Referenced the from:/Applications/LaserPro app/Contents/Frameworks/libopencv_core. 4.5 dylib
Reason: the image not found


Is my package in the right way
  •  Tags:  
  • Qt
  • Related