<div dir="ltr">Hi Richard,<div><br></div><div>CMake can take care of that for you, see the following web page:</div><div><a href="http://cmake.org/cmake/help/v3.0/module/BundleUtilities.html">http://cmake.org/cmake/help/v3.0/module/BundleUtilities.html</a><br></div><div>There's more information about this issue on the cmake mailing list.</div><div><br></div><div>Cheers,</div><div> - David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 21, 2017 at 8:04 AM, Richard Brown <span dir="ltr"><<a href="mailto:richard.j.brown@live.co.uk" target="_blank">richard.j.brown@live.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi David, Elvis,
<div><br>
</div>
<div>I’ll stick to dynamic libraries in that case. </div>
<div><br>
</div>
<div>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><br>
</div>
<div>Thanks for the help,</div>
<div>Richard</div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<blockquote type="cite">
<div>On 20 Mar 2017, at 17:44, David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:</div>
<br class="m_7969354161317439385Apple-interchange-newline">
<div>
<div dir="ltr">
<div>Hi Richard,</div>
<div><br>
</div>
<div>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><br>
</div>
<div>There are two strong reasons for using dynamic linking with Qt:</div>
<div>1) it allows you to use the Qt binaries from the Qt download site.</div>
<div>2) it allows you to use the Qt LGPL license without releasing your code</div>
<div><br>
</div>
<div>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><br>
</div>
<div> - David</div>
<div><br>
</div>
<div><br>
</div>
<br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Mar 20, 2017 at 9:20 AM, Sean McBride <span dir="ltr">
<<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span>On Thu, 16 Mar 2017 09:07:54 -0700, mbcx9rb9 said:<br>
<br>
>Building in Qt Creator gives this error. Building with Cmake compiles<br>
>without any problems<br>
<br>
</span>So sounds more like a Qt problem problem, to be asked on a Qt list...<br>
<br>
(I've never used Qt, so alas have no further suggestions.)<br>
<span class="m_7969354161317439385m_-2216249152619869582HOEnZb"><font color="#888888"><br>
Sean</font></span></blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div>
</blockquote></div><br></div>