[vtkusers] VTK deployment with static libraries on Mac (and in Qt Creator)

David Gobbi david.gobbi at gmail.com
Mon Mar 20 12:44:28 EDT 2017


Hi Richard,

It is possible to build dynamically-linked applications with Qt and VTK,
and to share such applications.  On the Mac, the Qt libraries become part
of the app bundle.  I do not know how to do this with Qt Creator, but there
should definitely be Qt experts around who know how to do it.  Maybe not on
the VTK list, however, since I don't think that many of us here use Qt
Creator.

There are two strong reasons for using dynamic linking with Qt:
1) it allows you to use the Qt binaries from the Qt download site.
2) it allows you to use the Qt LGPL license without releasing your code

Reason (2) is important.  If you use static Qt libraries, then you must
either pay for a Qt license or else release your own code as LGPL or a
compatible open-source license.

 - David




On Mon, Mar 20, 2017 at 9:20 AM, Sean McBride <sean at rogue-research.com>
wrote:

> On Thu, 16 Mar 2017 09:07:54 -0700, mbcx9rb9 said:
>
> >Building in Qt Creator gives this error. Building with Cmake compiles
> >without any problems
>
> So sounds more like a Qt problem problem, to be asked on a Qt list...
>
> (I've never used Qt, so alas have no further suggestions.)
>
> Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170320/6899cdd6/attachment.html>


More information about the vtkusers mailing list