[Paraview] Not a valid QT plugin on windows

Berk Geveci berk.geveci at kitware.com
Tue Jan 6 08:50:20 EST 2009


I am by no means a Windows expert but I don't think you can mix and
match C++ libraries built with different versions of Visual Studio. We
should probably migrate to using Visual Studio Express to build our 32
bit binaries but I don't have much time to do it.

-berk

On Tue, Jan 6, 2009 at 3:12 AM, Jérôme <jerome.velut at gmail.com> wrote:
> Dear all,
>
> I go further with this discussion : I have also a "not a valid Qt
> plugin" error on windows.
>
> The devel system is :
> - Windows XP SP3
> - ParaView 3.4 built with
>   - Python 2.5
>   - Qt 4.3.5
>   - MS Visual C++ 9.0 Express
>
> Qt is also built with Visual 9.0
>
> The plugin compiles and works well on this system (but a weird
> "STATIC" vs "SHARED" problem persists, that will be described in
> another e-mail).
>
> The user system is XP SP3 with the available ParaView 3.4 binaries.
> When loading the plugin, I get a "Is not a valid Qt plugin"
>
> I noted that the only difference between my compiled ParaView and the
> available one is the IDE (Visual 9 express vs. Visual 2005 ). Is it
> possible that this is the source of the error ? Unfortunately, I do
> not have access to a VS 2005, so I cannot try...
>
> Thanks for your time, and obviously : happy new year !
>
> Regards,
>
> Jerome
>
>
>
>
>
> 2008/12/29 Berk Geveci <berk.geveci at kitware.com>:
>>> I'll keep you posted on the progress  ~ Just one question though, plugins
>>> working in ParaView 3.2 should work in 3.4 right ?
>>
>> If they are recompiled, yes.
>>
>> -berk
>>
>> On Fri, Dec 19, 2008 at 4:43 AM, Jacques Papper <jpapper at ara.co.uk> wrote:
>>> I haven't had the time to get this to work... I went through the dependency
>>> walker and it seems that many dependencies are not resolved... Wht I will do
>>> next is compare this to my linux build.
>>> I'll keep you posted on the progress  ~ Just one question though, plugins
>>> working in ParaView 3.2 should work in 3.4 right ?
>>> JAcques
>>>
>>> -----Original Message-----
>>> From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]
>>> On Behalf Of Berk Geveci
>>> Sent: 18 December 2008 14:16
>>> To: Jacques Papper
>>> Cc: paraview at paraview.org
>>> Subject: Re: [Paraview] Not a valid QT plugin on windows
>>>
>>> Hi Jacques,
>>>
>>> I can't be of much help but I wanted to mention that, once you get this
>>> working, we should create a wiki describing issues with plugins on various
>>> platforms, specially Windows.
>>>
>>> -berk
>>>
>>> On Wed, Dec 17, 2008 at 3:16 AM, Jacques Papper <jacques.papper at gmail.com>
>>> wrote:
>>>> Ok,
>>>>
>>>> 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.
>>>>
>>>> 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 ?
>>>>
>>>> Thanks
>>>> Jacques
>>>>
>>>>
>>>> 2008/12/16 David E DeMarle <dave.demarle at kitware.com>
>>>>>
>>>>> That sounds similar to a bug that Pat Marion fixed for the Streaming
>>>>> ParaView plugin under windows. His change that fixed it was this:
>>>>>
>>>>> Index: Client/pqGlobalStreamingViewOptions.h
>>>>> ===================================================================
>>>>> RCS file:
>>>>> /cvsroot/ParaView3/ParaView3/Plugins/Streaming/Client/pqGlobalStreami
>>>>> ngViewOptions.h,v
>>>>> retrieving revision 1.1
>>>>> retrieving revision 1.2
>>>>> diff -r1.1 -r1.2
>>>>> 36d35
>>>>> < #include "pqComponentsExport.h"
>>>>> 40c39
>>>>> < class PQCOMPONENTS_EXPORT pqGlobalStreamingViewOptions : public
>>>>> pqOptionsContainer
>>>>> ---
>>>>> > class pqGlobalStreamingViewOptions : public pqOptionsContainer
>>>>>
>>>>>
>>>>> On Tue, Dec 16, 2008 at 12:54 PM, Jacques Papper <jpapper at ara.co.uk>
>>>>> wrote:
>>>>> > Hi all,
>>>>> >
>>>>> > I have two plugins for Paraview that used to work fine with
>>>>> > ParaView 3.2 under linux (I used to build them at the same time as
>>>>> > ParaView.) Now I am using Visual Studio and have compiled the
>>>>> > plugins outside of paraview. I am able to generate dll for both the
>>>>> > server and client plugins.
>>>>> > (I had to switch the vtkIO_EXPORTS flag on to build the dlls) When
>>>>> > I launch paraview, only the client side is loaded and when I try to
>>>>> > load the server side it fails with the message : " * is not a valid
>>>>> > Qt plugin" ...
>>>>> > I have found some threads dealing with this but nothing that I can try.
>>>>> > I have built ParaView and my plugins against the same version of Qt
>>>>> > (4.4.3)
>>>>> > Any help would be greatly appreciated.
>>>>> >
>>>>> > Jacques
>>>>> >
>>>>> >
>>>>> > ---------------------------
>>>>> > 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.
>>>>> > Note: All email sent to or from this address may be accessed by
>>>>> > someone other than the recipient, for system management and security
>>> reasons.
>>>>> > Aircraft Research Association Ltd.  Registered in England,
>>>>> > Registration No 503668 Registered Office: Manton Lane, Bedford MK41
>>>>> > 7PF England VAT No GB
>>>>> > 196351245
>>>>> >
>>>>> >
>>>>> > _______________________________________________
>>>>> > ParaView mailing list
>>>>> > ParaView at paraview.org
>>>>> > http://www.paraview.org/mailman/listinfo/paraview
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> David E DeMarle
>>>>> Kitware, Inc.
>>>>> R&D Engineer
>>>>> 28 Corporate Drive
>>>>> Clifton Park, NY 12065-8662
>>>>> Phone: 518-371-3971 x109
>>>>> _______________________________________________
>>>>> ParaView mailing list
>>>>> ParaView at paraview.org
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>>
>>>> _______________________________________________
>>>> ParaView mailing list
>>>> ParaView at paraview.org
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>>
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>>> ---------------------------
>>> 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.
>>> Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.
>>> Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
>>>
>>>
>>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>


More information about the ParaView mailing list