<HTML>
<HEAD>
<TITLE>Re: [Paraview] Not a valid QT plugin on windows</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>The depends command (provided by MSVC) provides information on one dll both about the other libraries it depends on and the symbols (variables and functions) that it exports. &nbsp;I believe the information is at the right at a bit below center in the GUI. &nbsp;For a ParaView plugin, there are typically only one or two functions exported that provide the hooks to allow ParaView to load the plugin.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 12/17/08 1:16 AM, &quot;Jacques Papper&quot; &lt;<a href="jacques.papper@gmail.com">jacques.papper@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ok, <BR>
<BR>
I removed the EXPORTS macro in my header, and it produces the same as setting the flag vtkIO_EXPORTS. The library is still not loaded though. So now I'm looking at the dependencies and the Initialize function. <BR>
<BR>
Kenneth, how do I go about &quot;making sure that the server manager initialization function is properly exported&quot; ? I'm not sure I really understand what you mean ? <BR>
<BR>
Thanks<BR>
Jacques<BR>
<BR>
<BR>
2008/12/16 David E DeMarle &lt;<a href="dave.demarle@kitware.com">dave.demarle@kitware.com</a>&gt;<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>That sounds similar to a bug that Pat Marion fixed for the Streaming<BR>
ParaView plugin under windows. His change that fixed it was this:<BR>
<BR>
Index: Client/pqGlobalStreamingViewOptions.h<BR>
===================================================================<BR>
RCS file: /cvsroot/ParaView3/ParaView3/Plugins/Streaming/Client/pqGlobalStreamingViewOptions.h,v<BR>
retrieving revision 1.1<BR>
retrieving revision 1.2<BR>
diff -r1.1 -r1.2<BR>
36d35<BR>
&lt; #include &quot;pqComponentsExport.h&quot;<BR>
40c39<BR>
&lt; class PQCOMPONENTS_EXPORT pqGlobalStreamingViewOptions : public<BR>
pqOptionsContainer<BR>
---<BR>
&gt; class pqGlobalStreamingViewOptions : public pqOptionsContainer<BR>
<BR>
<BR>
On Tue, Dec 16, 2008 at 12:54 PM, Jacques Papper &lt;<a href="jpapper@ara.co.uk">jpapper@ara.co.uk</a>&gt; wrote:<BR>
&gt; Hi all,<BR>
&gt;<BR>
&gt; I have two plugins for Paraview that used to work fine with ParaView 3.2<BR>
&gt; under linux (I used to build them at the same time as ParaView.)<BR>
&gt; Now I am using Visual Studio and have compiled the plugins outside of<BR>
&gt; paraview. I am able to generate dll for both the server and client plugins.<BR>
&gt; (I had to switch the vtkIO_EXPORTS flag on to build the dlls)<BR>
&gt; When I launch paraview, only the client side is loaded and when I try to<BR>
&gt; load the server side it fails with the message : &quot; * is not a valid Qt<BR>
&gt; plugin&quot; ...<BR>
&gt; I have found some threads dealing with this but nothing that I can try.<BR>
&gt; I have built ParaView and my plugins against the same version of Qt (4.4.3)<BR>
&gt; Any help would be greatly appreciated.<BR>
&gt;<BR>
&gt; Jacques<BR>
&gt;<BR>
&gt;<BR>
&gt; ---------------------------<BR>
&gt; This email contains information that is private and confidential and is intended only for the addressee. &nbsp;If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<BR>
&gt; Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.<BR>
&gt; Aircraft Research Association Ltd. &nbsp;Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245<BR>
&gt;<BR>
&gt;<BR>
&gt; _______________________________________________<BR>
&gt; ParaView mailing list<BR>
&gt; <a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
&gt;<BR>
<BR>
<BR>
<BR>
<FONT COLOR="#888888">--<BR>
David E DeMarle<BR>
Kitware, Inc.<BR>
R&amp;D Engineer<BR>
28 Corporate Drive<BR>
Clifton Park, NY 12065-8662<BR>
Phone: 518-371-3971 x109<BR>
</FONT>_______________________________________________<BR>
ParaView mailing list<BR>
<a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>