[Paraview] Getting a custom panel to be recognized

Michael Jackson mike.jackson at bluequartz.net
Fri Sep 26 14:13:46 EDT 2008


Post your GUI XML code for your plugin along with the c++ class names  
of the filters that should have the custom gui invoked.

Mike

On Sep 26, 2008, at 1:51 PM, Samuel Crow wrote:

> Hi Mike,
>
> Ok, I rebuilt and reinstalled Qt 4.4.2 from the source code (GPL  
> version), reran CMake on ParaView, did a make clean, make -j, and  
> sudo make install on Paraview.  I rebuilt my plugin linking against  
> the version of ParaView I just built and installed it in the plugins  
> directory inside the bundle in the directory that the executable is  
> in.  The GUI plugins loaded this time and it still didn't show my  
> custom panel.
>
> --Sam Crow
>
> --- On Fri, 9/26/08, Michael Jackson <mike.jackson at bluequartz.net>  
> wrote:
>
>> From: Michael Jackson <mike.jackson at bluequartz.net>
>> Subject: Re: [Paraview] Getting a custom panel to be recognized
>> To: samuel_crow_work at rocketmail.com
>> Cc: paraview at paraview.org
>> Date: Friday, September 26, 2008, 4:34 PM
>> Means that one of the following is NOT matching:
>>
>> Raw Qt Version 4.4.2 versus 4.3.5
>> Commercial versus Opensorce compiles
>> Debug versus Release binaries
>>
>> ALL of those things MUST match for a plugin to load. Last
>> Time I had
>> that error I was trying to load a Debug version of a plugin
>> against a
>> release version of Qt.
>>
>> Mike
>>
>> On Sep 26, 2008, at 12:25 PM, Samuel Crow wrote:
>>
>>> Hi,
>>>
>>> No error messages, but this time it didn't load
>> the GUI plugins.
>>> When I tried loading them manually they claimed they
>> were built with
>>> an incompatible version of Qt.
>>>
>>> I'm beginning to suspect that all of my
>> experimentation with
>>> different versions of Qt is starting to catch up with
>> me.  The panel
>>> was built with version 4.4.2 of Qt_Designer while
>> compiled with
>>> 4.3.5 of the libraries.  I'll check into this and
>> post back to the
>>> list if I find anything else out.
>>>
>>> --Sam
>>>
>>> --- On Fri, 9/26/08, Michael Jackson
>> <mike.jackson at bluequartz.net>
>>> wrote:
>>>
>>>> From: Michael Jackson
>> <mike.jackson at bluequartz.net>
>>>> Subject: Re: [Paraview] Getting a custom panel to
>> be recognized
>>>> To: samuel_crow_work at rocketmail.com
>>>> Cc: paraview at paraview.org
>>>> Date: Friday, September 26, 2008, 4:14 PM
>>>> Do you get an error message when the plugin tries
>> to load?
>>>>
>>>> Mike
>>>>
>>>> On Sep 26, 2008, at 12:07 PM, Samuel Crow wrote:
>>>>
>>>>>
>>>>> Here's a thought.  Does it need to be
>> compiled
>>>> with the Commercially
>>>>> licensed version of Qt to work?  I've
>> downloaded a
>>>> binary install of
>>>>> ParaView 3.3.1 from the official website and
>> it
>>>> didn't act any
>>>>> differently even though the official one was
>> built
>>>> with the
>>>>> commercial license of Qt.
>>>>>
>>>>> --- On Fri, 9/26/08, Samuel Crow
>>>> <samuel_crow_work at rocketmail.com>
>>>>> wrote:
>>>>>
>>>>>> From: Samuel Crow
>>>> <samuel_crow_work at rocketmail.com>
>>>>>> Subject: [Paraview] Getting a custom panel
>> to be
>>>> recognized
>>>>>> To: paraview at paraview.org
>>>>>> Date: Friday, September 26, 2008, 3:07 PM
>>>>>> Hello,
>>>>>>
>>>>>> I've created a custom panel in
>> QT_Designer to
>>>> replace
>>>>>> an auto-generated panel that was too large
>> on my
>>>> reader.
>>>>>> The reader plugin currently compiles but
>> when I
>>>> load the
>>>>>> plugin into ParaView, it still shows the
>>>> auto-generated
>>>>>> panel.
>>>>>>
>>>>>> Making a child class of
>> pqLoadedFormObjectPanel
>>>> was fairly
>>>>>> straightforward.  I'm pretty sure that
>> all of
>>>> the names
>>>>>> in the custom panel line up with the
>>>> server-manager XML so I
>>>>>> am wondering why ParaView doesn't
>> recognize
>>>> the custom
>>>>>> panel.  Do the XML domains listed in the
>>>> ServerManager file
>>>>>> need to be stripped off so that the GUI
>> can supply
>>>> its own?
>>>>>>
>>>>>> Thanks for your time,
>>>>>>
>>>>>> --Sam Crow
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>> _______________________________________________
>>>>>> 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
>
>
>
>



More information about the ParaView mailing list