<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi David, Elvis,
<div class=""><br class="">
</div>
<div class="">I’ll stick to dynamic libraries in that case. </div>
<div class=""><br class="">
</div>
<div class="">After a bit of reading I think I need to copy the dynamic libraries into the app bundle then use install_name_tool to sort out all the paths.</div>
<div class=""><br class="">
</div>
<div class="">Thanks for the help,</div>
<div class="">Richard</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 20 Mar 2017, at 17:44, David Gobbi <<a href="mailto:david.gobbi@gmail.com" class="">david.gobbi@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hi Richard,</div>
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">There are two strong reasons for using dynamic linking with Qt:</div>
<div class="">1) it allows you to use the Qt binaries from the Qt download site.</div>
<div class="">2) it allows you to use the Qt LGPL license without releasing your code</div>
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class=""> - David</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<br class="">
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Mon, Mar 20, 2017 at 9:20 AM, Sean McBride <span dir="ltr" class="">
<<a href="mailto:sean@rogue-research.com" target="_blank" class="">sean@rogue-research.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">On Thu, 16 Mar 2017 09:07:54 -0700, mbcx9rb9 said:<br class="">
<br class="">
>Building in Qt Creator gives this error. Building with Cmake compiles<br class="">
>without any problems<br class="">
<br class="">
</span>So sounds more like a Qt problem problem, to be asked on a Qt list...<br class="">
<br class="">
(I've never used Qt, so alas have no further suggestions.)<br class="">
<span class="m_-2216249152619869582HOEnZb"><font color="#888888" class=""><br class="">
Sean</font></span></blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>