リープ モーション ライブラリを使用して qbs プロジェクトをビルドしようとしていますが、プロジェクトを実行すると次のエラーが表示されます。
dyld: Library not loaded: @loader_path/libLeap.dylib
Referenced from: /Users/pball/Work/Code/Qt/build-LeapTest-Desktop-Debug/qtc_Desktop_95cbad6a-debug/install-root/LeapTest
Reason: image not found
私のqbsファイル:
import qbs
CppApplication {
consoleApplication: true
files: "main.cpp"
Group { // Properties for the produced executable
fileTagsFilter: product.type
qbs.install: true
}
cpp.includePaths: [".","/Users/pball/LeapSDK/include"]
cpp.libraryPaths: ["/Users/pball/LeapSDK/lib"]
cpp.dynamicLibraries: "Leap"
}
libLeap.dylib はその場所にあります。
Qt 5.6.0 の使用
qbsの使用は初めてなので、ヘルプ/ポインターは大歓迎です。