[Qbs] "bundle.content" and libraries within app bundle

Иван Комиссаров abbapoh at gmail.com
Mon Jun 26 11:40:40 CEST 2017


I want to install library products into the application bundle, like Qt Creator does.

I modified install-bundle example so the framework is installed into 

Here’s the example https://pastebin.com/dU3gxjQ4 <https://pastebin.com/dU3gxjQ4>

However, i get the following error when i try to launch app from Qt Creator:

Starting /Users/arch/Programming/qt5/build-install-bundle-Desktop_Qt_5_7_1_clang_64bit-Debug/qtc_Desktop__1f2d618d-debug/.tmp/Window...
dyld: Library not loaded: CoreUtils.framework/Versions/A/CoreUtils
Referenced from: /Users/arch/Programming/qt5/build-install-bundle-Desktop_Qt_5_7_1_clang_64bit-Debug/qtc_Desktop__1f2d618d-debug/.tmp/Window
Reason: image not found

Ok, i didn’t set the cpp.rpath property, however, why does QtC launches app from .tmp but not from install-root? Is this a bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20170626/e9c553e6/attachment.html>


More information about the Qbs mailing list