[Paraview] Problems in loading plugin

Rafael March rafaelmarch3 at yahoo.com
Wed Mar 25 08:55:08 EDT 2009


Hi Mr. Oshima,

Thanks a lot for your help. I was trying, without success, to do this for a week, and just now I realized what was wrong !

First of all, I was trying to load my plugin having compiled it in debug mode, not release. When I changed this, I could load it without problems, but the Qt GUI was quite weird. Then, as you said, I compiled ParaView with Qt 4.3.3 (instead of Qt 4.3.5, as the Wiki indicates) and pointed my plugin to THIS distribution. I managed to compile it, and now it runs pretty well with the ParaView version distributed by the website. 

ParaView developers, this may be an error in the Wiki. Is the version in the "Downloads" section of the website REALLY compiled with Qt 4.3.5 ? 

Regards,
Rafael March.

--- On Mon, 3/23/09, Takuya OSHIMA <oshima at eng.niigata-u.ac.jp> wrote:

From: Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>
Subject: Re: [Paraview] Problems in loading plugin
To: rafaelmarch3 at yahoo.com
Cc: paraview at paraview.org
Date: Monday, March 23, 2009, 4:45 PM

Hi Rafael,

I'm not sure if this helps, but I noticed one thing while I was
solving a DLL problem about which I reported recently.

If you run the Qt assitant binary included in
paraview-3.4.0-win32-x86.exe (you may have to add a .exe suffix since
it is simply named "assistant") and select Help->About Qt, a dialog
appears saying "This program uses Qt ... version 4.3.3." Hence my
doubt is that it in fact is Qt 4.3.3 that was used to build the
Kitware's package.

p.s. You may also want to make sure you are doing a Release (not
Debug) build.

Regards,
Takuya

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN


From: Rafael March <rafaelmarch3 at yahoo.com>
Subject: [Paraview] Problems in loading plugin
Date: Mon, 23 Mar 2009 09:29:10 -0700 (PDT)

> *
> Hi,                                                                           
>                                                                               
> As Berk 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:                                                                  
>                                                                               
> plugin:                                                                       
>                                                                               
>   • Operating System: Windows Vista Business - SP1                            
>   • Microsoft Visual Studio 2005 Professional Edition 8.0.50727.867           
>   • no python                                                                 
>   • Qt 4.3.5 open source version                                              
> 
> ParaView of Kitware's site:                                                   
>                                                                               
> paraview-3.4.0-win32-x86.exe:                                                 
>                                                                               
>   • Built on Windows XP Professional Version 2002 (Service Pack 3)            
>   • Microsoft Visual Studio 2005 Professional Edition 8.0.50727.762           
>   • python 2.5.2                                                              
>   • Qt 4.3.5 open source version                                              
>                                                                               
> 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.                              
>                                                                               
> I'm wondering if the problem is the slight difference between the visual      
> studio versions. Or maybe the OS. What can be wrong ? Why I can't load my     
> plugin with the ParaView binaries provided in the website ?                   
>                                                                               
> Regards,                                                                      
> Rafael March.                                                                 
> 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090325/dbe1091d/attachment.htm>


More information about the ParaView mailing list