[Qbs] Is it possible to include Qt libraries in InstallPackage output archive?

Denis Shienkov denis.shienkov at gmail.com
Tue Dec 5 16:47:05 CET 2017


Hi Federico,

You can take the 'hack' from the qbs sources, where are used a custom 
rule with windeployqt utility.

e.g. look on qbs\src\packages\archive\archive.qbs.

You can try to expand it himself to using of macdeployqt && lindeployqt 
(custom).

BR,

Denis


05.12.2017 16:54, Federico Frenguelli пишет:
> Thanks Jake,
> I'll take a look to the code you linked!
>
> I'm glad to hear that this feature is under development.
>
>
>
>
> On 5 December 2017 at 10:18, Jake Petroules <Jake.Petroules at qt.io 
> <mailto:Jake.Petroules at qt.io>> wrote:
>
>     Deployment of third party libraries is still under development.
>     There are some workarounds you can use for now, though. See here
>     for inspiration:
>
>     https://codereview.qt-project.org/#/c/213299/
>     <https://codereview.qt-project.org/#/c/213299/>
>
>     > On Dec 5, 2017, at 12:51 AM, Federico Frenguelli
>     <synasius at gmail.com <mailto:synasius at gmail.com>> wrote:
>     >
>     > Hi,
>     >
>     > I have a big application that I recently ported to QBS.
>     > I have a tons of legacy bash scripts that produce a .tar.gz
>     archive which includes the Qt dynamic libraries (like
>     libQtCore5Core.so.5 etc..) so that our users can just unpack and
>     run the app.
>     >
>     > Is it possible to achieve the same in QBS using the
>     InstallPackage item (docs:
>     http://doc.qt.io/qbs/installpackage-item.html
>     <http://doc.qt.io/qbs/installpackage-item.html>)?
>     > Are there other ways to do that?
>     >
>     >
>     > --
>     > Federico Frenguelli
>     > _______________________________________________
>     > Qbs mailing list
>     > Qbs at qt-project.org <mailto:Qbs at qt-project.org>
>     > http://lists.qt-project.org/mailman/listinfo/qbs
>     <http://lists.qt-project.org/mailman/listinfo/qbs>
>
>     --
>     Jake Petroules - jake.petroules at qt.io <mailto:jake.petroules at qt.io>
>     The Qt Company - Silicon Valley
>     Qbs build tool evangelist - qbs.io <http://qbs.io>
>
>
>
>
> -- 
> Federico Frenguelli
>
>
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20171205/44dad6c8/attachment.html>


More information about the Qbs mailing list