[Qbs] Deployment and dependency bundling

Alberto Mardegan mardy at users.sourceforge.net
Thu Nov 28 21:08:16 CET 2019


Hi again :-)

  Whether one prepares macOS bundles, AppImage files of MSI installers,
one has to go through the dependency collection step, which is largely
similar for all platforms. To be more explicit, I'm referring to the
kind of job that on macOS is performed by the macdeployqt tool, and that
seems to be asked in https://bugreports.qt.io/browse/QBS-956.

Has some planning work been done in this direction already?

My desired outcome would be to have a module which does not create a new
product, but rather operates in the same qbs.installRoot directory as my
application's product and in an automagical (but configurable) way
populates it with the product dependencies, including needed Qt plugins.

(For AppImage, that would be followed by an additional step where the
qbs.installRoot tree is scanned for libraries and executables, and all
of their dependencies (as found by ldd) would be copied over. But this
is rather AppImage-specific, so it could live in another module.)


Ciao,
  Alberto

-- 
http://www.mardy.it - Geek in un lingua international


More information about the Qbs mailing list