[Qbs] (no subject)

Dan Pat dannix84 at gmail.com
Mon Jan 11 14:32:19 CET 2021


Thanks, that seems to work.

On Mon, 11 Jan 2021 at 14:56, Christian Kandeler <christian.kandeler at qt.io>
wrote:

> On 1/11/21 9:23 AM, Dan Pat wrote:
> > Hi. I have a question about making third-party libraries
> available/visible
> > when running programs from qtcreator.  We have a number of prebuilt
> > libraries in the source tree which are currently wrapped in Modules. The
> > modules contain include/library paths, so any depending products build
> > fine, but fail to run because the runtime is unable to locate the library
> > files. One way (our current approach) to solve the problem is to list
> those
> > files in Modules under Group items, make them installable to
> "install-root"
> > location and make that location searchable by the dynamic linker (under
> > Windows it is the default behaviour). It works but leads to an
> > inconvenience - these files now show up as being part of the depending
> > products. I know that this is by design, but in this case library files
> > being listed N times in N dependent products look strange at the least.
> Can
> > anyone recommend a nicer approach?
>
> In the groups containing the library files, set the filesAreTargets
> property to true.
>
>
> Christian
>
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20210111/89db3648/attachment.html>


More information about the Qbs mailing list