How to package the dynamic library? After packaging with macdeployqt, it is found that the referenced library is not in it.
-
How to package the dynamic library? After packaging with macdeployqt, it is found that the referenced library is not in it.
macdeployqt x.app -qmldir=qmlmacx { LIBS += -L$$PWD/libs/macos/ -lcrypto -lssl -lmylib INCLUDEPATH += $$PWD/libs/macos/ }When running:
Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: mylib.dylib Referenced from: /Volumes/VOLUME/*/xx.app/Contents/MacOS/xx Reason: image not found -
How to package the dynamic library? After packaging with macdeployqt, it is found that the referenced library is not in it.
macdeployqt x.app -qmldir=qmlmacx { LIBS += -L$$PWD/libs/macos/ -lcrypto -lssl -lmylib INCLUDEPATH += $$PWD/libs/macos/ }When running:
Application Specific Information: dyld: launch, loading dependent libraries Dyld Error Message: Library not loaded: mylib.dylib Referenced from: /Volumes/VOLUME/*/xx.app/Contents/MacOS/xx Reason: image not found