Thanks for the fix. Should i manually rebuild QtC to use the patch?

2017-06-26 20:34 GMT+03:00 Jake Petroules <[email protected]>:

>
> > On Jun 26, 2017, at 7:10 AM, Christian Kandeler <
> [email protected]> wrote:
> >
> > On Mon, 26 Jun 2017 12:40:40 +0300
> > Иван Комиссаров <[email protected]> wrote:
> >
> >> 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?
> >
> > Possibly. It appears your executable does not have qbs.install set for
> > some reason. The logic for choosing the executable to run is in
> > qbs::ProductData::targetExecutable(). Debugging into this function
> might give you more insight into what is going on.
> > You might also want to check whether the same thing happens with the
> original install-bundle example.
>
> Sorry. This is actually a bug by omission which broke somewhere during the
> refactoring of bundle handling in Qbs. Here's the patch which fixes bundled
> application running for macOS, iOS, and tvOS:
> https://codereview.qt-project.org/198542
>
> Hopefully this will be part of the 1.8.1 release.
>
> > Christian
> > _______________________________________________
> > Qbs mailing list
> > [email protected]
> > http://lists.qt-project.org/mailman/listinfo/qbs
>
> --
> Jake Petroules - [email protected]
> The Qt Company - Silicon Valley
> Qbs build tool evangelist - qbs.io
>
> _______________________________________________
> Qbs mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/qbs
>
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to