I think disabling that plugin for static builds is the correct thing to do - you can make Qt build plugins in statically, but I don't think we need to try and do that in this case. The designer plugin is there as an aid to development, and when deploying a statically built application is not necessary anyway.<div>
<br></div><div>Marcus<br><br><div class="gmail_quote">On Fri, Sep 24, 2010 at 8:57 AM, Dave Partyka <span dir="ltr"><<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Yeah, thats what I thought, I am just going to disable that plugin if doing a static build. The tiff errors I believe are symbols that weren't mangled as you said, so I'll take a stab at those.<div><div></div><div class="h5">
<br><br><div class="gmail_quote">
On Fri, Sep 24, 2010 at 8:50 AM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
On Sep 24, 2010, at 7:53 AM, Gib Bogle wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Quoting Dave Partyka <<a href="mailto:dave.partyka@kitware.com" target="_blank">dave.partyka@kitware.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Gib,<br>
<br>
I have recreated similar compile errors while building static vtk against<br>
static qt with Visual Studio 10 and Qt 4.7. I am not entirely positive but I<br>
suspect that QVTKWidgetPlugin shouldn't be built when doing a static build.<br>
</blockquote>
<br>
Hi Dave,<br>
<br>
I wondered about that. Is there a way for a user like me to exclude it?<br>
<br>
<snip><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am also getting some tiff symbol redefinitions that I will look into<br>
fixing.<br>
</blockquote>
<br>
<snip><br>
<br>
Yes, I got those too. I experimented a bit with the configure options for including libtiff, but nothing good came of it, and I gave up on static Qt for now.<br>
<br>
Cheers<br>
Gib<br>
<br>
</blockquote>
<br></div>
I am fairly sure of the following: If you build a static Qt then you can not load plugins. I believe this is somewhere in the Qt Documentation. Therefor, if you have a static Qt, then Qt Designer can not load the QVTKWidgetPlugin that is compiled by VTK. Also, since both VTK and Qt use libTiff compiling Static should cause conflicts of symbols although I thought that VTK did something to the symbol names during configuration to add a _vtk prefix to all the method names but I may be wrong. Tried this a few years back and finally gave up and went with dynamic libraries all around. Of course I had the luxury of being able to do this.<br>
___________________________________________________________<br>
Mike Jackson <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software Dayton, Ohio<div><div></div><div><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>