<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>thanks, Berk, for your answer. As you corrected me, I've compiled my plugin under the same Qt version of the ParaView distro which is in the website. Now, it is built under the following environment:<br><br>plugin:<br><ul><li>Operating System: Windows Vista Business - SP1</li><li>Microsoft Visual Studio 2005 Professional Edition 8.0.50727.867</li><li>no python</li><li>Qt 4.3.5 open source version<br></li></ul><br>ParaView of Kitware's site:<br><br>paraview-3.4.0-win32-x86.exe:
<ul><li> Built on Windows XP Professional Version 2002 (Service Pack 3) 
</li><li> Microsoft Visual Studio 2005 Professional Edition 8.0.50727.762
</li><li> python 2.5.2
</li><li> Qt 4.3.5 open source version
</li></ul>But is still doesn't work ! I got another machine that never saw ParaView before, installed it, and tryied to load the plugin. Then I get a message like "The file "blabla.dll" is not a valid Qt plugin. <br><br>I'm wondering if the problem is the slight difference between the visual studio versions. Or maybe the OS. What do you think ? <br><br>Regards,<br>Rafael March.<br><br><br><br>--- On <b>Wed, 3/18/09, Berk Geveci <i>&lt;berk.geveci@kitware.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Berk Geveci &lt;berk.geveci@kitware.com&gt;<br>Subject: Re: [Paraview] Generating a distribution of ParaView with Plugin<br>To: "Rafael March" &lt;rafaelmarch3@yahoo.com&gt;<br>Cc: paraview@paraview.org<br>Date: Wednesday, March 18, 2009, 3:07 PM<br><br><div class="plainMail">&gt; I've developed a plugin for ParaView, and now I would like to distribute it<br>&gt; to some
 researchers, so that they can use it. As the binaries of ParaView in<br>&gt; the website aren't compiled with support to shared libs, I think I must pack<br>&gt; my own version of it.<br><br>This is not true. The binaries we distribute use shared libraries and<br>it is possible to build plugins that can be run with them. You have to<br>match the compilers and Qt version we use. On the download page<br>, there is a link to a wiki page that describes those.<br><br>&gt; What I would like to do, is to give them a zipped folder with a distribution<br>&gt; of ParaView and the dll of the plugin (Windows environment). They should<br>&gt; execute a .bat file (which would set environment variables like PATH and<br>&gt; PV_PLUGIN_PATH) to get ParaView to run, and automatically put my filter in<br>&gt; the filter menu.<br>&gt;<br>&gt; The question is: how to get this to work ? I've tried to copy the folder<br>&gt; which Visual Studio creates when I build the
 project INSTALL (I thought this<br>&gt; would be what I needed: a distribution of ParaView), but I'm getting<br>&gt; problems to run ParaView by this folder in another computer.<br><br>You need to use cpack like we do to make binary distributions. You<br>should probably check out the cpack documentation first. I believe the<br>CMake book talks about it so does this page:<br><a href="http://www.cmake.org/Wiki/CMake:Packaging_With_CPack" target="_blank">http://www.cmake.org/Wiki/CMake:Packaging_With_CPack</a>. You will have to<br>install the nullsoft install system if you want to distribute self<br>installing packages. Then you have to change the install rules of<br>ParaView such that you plugin is installed with ParaView. This is<br>somewhat complicated. We are working on making it simpler.<br><br>Is you plugin proprietary? We have plans to create methods for<br>researchers to contribute plugins that we maintain and build as part<br>of our release
 process.<br><br>-berk<br></div></blockquote></td></tr></table><br>