<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Bump. Does anyone have any experience building a VTK application in Qt Creator with static libraries?
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class="">Richard</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite" class="">
<div class="">On 16 Mar 2017, at 17:07, mbcx9rb9 <<a href="/user/SendEmail.jtp?type=node&node=5742522&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">
<div class="">Building in Qt Creator gives this error. Building with Cmake compiles without any problems (I assumed due to VTK_USE_FILE). Also I can compile the program in Qt Creator using dylibs without any problems (so I guess normally Qt links to Cocoa,
it's just linking to cocoa when using static libs in Qt that causes the problem).</div>
<div dir="auto" class=""><br class="">
</div>
<div dir="auto" class="">Thanks<br class="">
<div class="gmail_extra" dir="auto"><br class="">
<div class="gmail_quote">On 16 Mar 2017 5:01 p.m., "Sean McBride [via VTK]" <ml-node+<a href="x-msg://2/user/SendEmail.jtp?type=node&node=5742498&i=0" target="_top" rel="nofollow" link="external" class="">[hidden email]</a>> wrote:<br type="attribution" class="">
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em" class="quote">
<div class="">On Wed, 15 Mar 2017 14:13:39 +0000, Richard Brown said: <br class="">
<br class="">
>So how do I go about linking against Cocoa.framework. With another <br class="">
>VTK_MODULE_INIT? <br class="">
<br class="">
You need to do that when building your application, as opposed to building VTK. Do you build your app with CMake? With Xcode? With something else? Presumably you're ultimately using clang, in which case something needs to pass "-framework Cocoa" to it.
<br class="">
<br class="">
Cheers, <br class="">
<br class="">
-- <br class="">
____________________________________________________________ <br class="">
Sean McBride, B. Eng <a href="" target="_top" rel="nofollow" link="external" class="">
[hidden email]</a> <br class="">
Rogue Research <a href="http://www.rogue-research.com" class="" target="_top" rel="nofollow" link="external">www.rogue-research.com</a>
<br class="">
Mac Software Developer Montréal, Québec, Canada <br class="">
<br class="">
<br class="">
_______________________________________________ <br class="">
Powered by <a href="http://www.kitware.com" class="" target="_top" rel="nofollow" link="external">www.kitware.com</a> <br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_top" rel="nofollow" link="external" class="">
http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_top" rel="nofollow" link="external" class="">
http://www.vtk.org/Wiki/VTK_FAQ</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_top" rel="nofollow" link="external" class="">
http://markmail.org/search/?q=vtkusers</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe: <br class="">
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_top" rel="nofollow" link="external" class="">http://public.kitware.com/mailman/listinfo/vtkusers</a><br class="">
<br class="">
<br class="">
<hr noshade="noshade" size="1" class="">
<div style="color:#444;font:12px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif" class="">
<div style="font-weight:bold" class="">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://vtk.1045678.n5.nabble.com/VTK-deployment-with-static-libraries-on-Mac-and-in-Qt-Creator-tp5742475p5742496.html" target="_top" rel="nofollow" link="external" class="">http://vtk.1045678.n5.nabble.com/VTK-deployment-with-static-libraries-on-Mac-and-in-Qt-Creator-tp5742475p5742496.html</a>
</div>
<div style="color:#666;font:11px 'tahoma' , 'geneva' , 'helvetica' , 'arial' , sans-serif;margin-top:0.4em;line-height:1.5em" class="">
To unsubscribe from VTK deployment with static libraries on Mac (and in Qt Creator),
<a href="" target="_top" rel="nofollow" link="external" class="">click here</a>.<br class="">
<a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" style="font:9px serif" target="_top" rel="nofollow" link="external" class="">NAML</a>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
<br class="">
<hr align="left" width="300" class="">
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-deployment-with-static-libraries-on-Mac-and-in-Qt-Creator-tp5742475p5742498.html" class="" target="_top" rel="nofollow" link="external">
Re: VTK deployment with static libraries on Mac (and in Qt Creator)</a><br class="">
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" class="" target="_top" rel="nofollow" link="external">
VTK - Users mailing list archive</a> at <a href="http://Nabble.com" class="" target="_top" rel="nofollow" link="external">Nabble.com</a>.<br class="">
_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com" class="" target="_top" rel="nofollow" link="external">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" class="" target="_top" rel="nofollow" link="external">
http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" class="" target="_top" rel="nofollow" link="external">
http://www.vtk.org/Wiki/VTK_FAQ</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" class="" target="_top" rel="nofollow" link="external">
http://markmail.org/search/?q=vtkusers</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" class="" target="_top" rel="nofollow" link="external">http://public.kitware.com/mailman/listinfo/vtkusers</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/VTK-deployment-with-static-libraries-on-Mac-and-in-Qt-Creator-tp5742475p5742522.html">Re: [vtkusers] VTK deployment with static libraries on Mac (and in Qt Creator)</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>