<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. I believe the information is at the right at a bit below center in the GUI. 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, "Jacques Papper" <<a href="jacques.papper@gmail.com">jacques.papper@gmail.com</a>> 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 "making sure that the server manager initialization function is properly exported" ? I'm not sure I really understand what you mean ? <BR>
<BR>
Thanks<BR>
Jacques<BR>
<BR>
<BR>
2008/12/16 David E DeMarle <<a href="dave.demarle@kitware.com">dave.demarle@kitware.com</a>><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>
< #include "pqComponentsExport.h"<BR>
40c39<BR>
< class PQCOMPONENTS_EXPORT pqGlobalStreamingViewOptions : public<BR>
pqOptionsContainer<BR>
---<BR>
> class pqGlobalStreamingViewOptions : public pqOptionsContainer<BR>
<BR>
<BR>
On Tue, Dec 16, 2008 at 12:54 PM, Jacques Papper <<a href="jpapper@ara.co.uk">jpapper@ara.co.uk</a>> wrote:<BR>
> Hi all,<BR>
><BR>
> I have two plugins for Paraview that used to work fine with ParaView 3.2<BR>
> under linux (I used to build them at the same time as ParaView.)<BR>
> Now I am using Visual Studio and have compiled the plugins outside of<BR>
> paraview. I am able to generate dll for both the server and client plugins.<BR>
> (I had to switch the vtkIO_EXPORTS flag on to build the dlls)<BR>
> When I launch paraview, only the client side is loaded and when I try to<BR>
> load the server side it fails with the message : " * is not a valid Qt<BR>
> plugin" ...<BR>
> I have found some threads dealing with this but nothing that I can try.<BR>
> I have built ParaView and my plugins against the same version of Qt (4.4.3)<BR>
> Any help would be greatly appreciated.<BR>
><BR>
> Jacques<BR>
><BR>
><BR>
> ---------------------------<BR>
> This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<BR>
> 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>
> Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245<BR>
><BR>
><BR>
> _______________________________________________<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>
><BR>
<BR>
<BR>
<BR>
<FONT COLOR="#888888">--<BR>
David E DeMarle<BR>
Kitware, Inc.<BR>
R&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>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <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>