<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
otool (I'm on OSX currently) reports the Qt version as 4.2.2:<br>
<br>
@executable_path/../Frameworks/QtGui.framework/Versions/4/QtGui
(compatibility version 4.2.0, current version 4.2.2)<br>
<br>
which is what I used to build Paraview and my plugin. I built the
Paraview 3.1 source, built my plugin against it, and am subsequently
trying to load the plugin with the released 3.1 executable.<br>
<br>
No luck yet. I'll report back if I find my way.<br>
<br>
Thanks,<br>
Tom<br>
<br>
<br>
On 1/17/08 1:03 PM, <a class="moz-txt-link-abbreviated" href="mailto:clinton@elemtech.com">clinton@elemtech.com</a> wrote:
<blockquote cite="mid:200801171203.14183.clinton@elemtech.com"
type="cite">
<pre wrap="">Did you build your plugin against the same Qt version and same ParaView code
that the ParaView releases were made from?
Its possible to have a NULL qApp if a different version of Qt is used when
building the plugin.
I'd probably check in the debugger (even in release mode) what libraries are
actually being used, after your plugin loads.
Clint
On Thursday 17 January 2008 11:04:14 am Thomas D. Uram wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I've written a plugin for Paraview, following the directions at
<a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/Plugin_HowTo">http://www.vtk.org/Wiki/Plugin_HowTo</a>
and it works fine with the Paraview executable I've built. I'd like for
it to also work with the official Paraview releases, but in that case
Paraview crashes trying to load the plugin.
That's because the plugin code makes a call against qApp (as does the
Paraview plugin example), but qApp is NULL. So my questions are:
- Is there a related build dependency that I need to consider? (I've
already ensured that my plugin uses CMAKE_BUILD_TYPE=='release')
- Should I be able to successfully build plugins for loading by the
release code? (I expect that's the long term plan, but wonder if it is
not yet possible.)
Any help would be appreciated.
Thanks,
Tom
_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>