<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><berk.geveci@kitware.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Berk Geveci <berk.geveci@kitware.com><br>Subject: Re: [Paraview] Generating a distribution of ParaView with Plugin<br>To: "Rafael March" <rafaelmarch3@yahoo.com><br>Cc: paraview@paraview.org<br>Date: Wednesday, March 18, 2009, 3:07 PM<br><br><div class="plainMail">> I've developed a plugin for ParaView, and now I would like to distribute it<br>> to some
researchers, so that they can use it. As the binaries of ParaView in<br>> the website aren't compiled with support to shared libs, I think I must pack<br>> 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>> What I would like to do, is to give them a zipped folder with a distribution<br>> of ParaView and the dll of the plugin (Windows environment). They should<br>> execute a .bat file (which would set environment variables like PATH and<br>> PV_PLUGIN_PATH) to get ParaView to run, and automatically put my filter in<br>> the filter menu.<br>><br>> The question is: how to get this to work ? I've tried to copy the folder<br>> which Visual Studio creates when I build the
project INSTALL (I thought this<br>> would be what I needed: a distribution of ParaView), but I'm getting<br>> 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>