<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi Clinton,</DIV>
<DIV> </DIV>
<DIV>Thank you for your help. I actually saw QVTKWidget in Qt Widget Box of Qt Designer, but NOT in the Qt Toolbox of Visual Studio 2008. Do I have to reinstall Qt to add QVTKWidget into Qt Toolbox of VS 2008? Is there any quick fix for this such as copying and pasting a few files? I tried both shared and static builds of VTK but did not make any difference. I built VTK in release mode and installed Qt release version.</DIV>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"> </DIV>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Thank you.</DIV>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt">Jim</DIV>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><BR>--- On <B>Mon, 2/9/09, Clinton Stimpson <I><clinton@elemtech.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Clinton Stimpson <clinton@elemtech.com><BR>Subject: Re: [vtkusers] Install QVTKWidget into Qt Designer/Toolbox<BR>To: jiksed@yahoo.com<BR>Cc: vtkusers@vtk.org<BR>Date: Monday, February 9, 2009, 11:49 AM<BR><BR>
<DIV id=yiv1566629771>
<DIV><BR></DIV>
<DIV>It needs to match the build type of the designer, which is typically release.</DIV>
<DIV>Have you tried the Help -> About Plugins dialog in the Designer to check for errors?</DIV>
<DIV>If its not in the list, you didn't put the dll in the right place. If there is an error loading it, it gives you the error.</DIV>
<DIV><BR></DIV>
<DIV>Also, it doesn't matter if VTK is shared libs or not. Only the .dll needs to be copied to the plugins/designer directory.</DIV>
<DIV>It shows up in the toolbox under "QVTK"</DIV>
<DIV><BR></DIV>
<DIV>Clint</DIV>
<DIV><BR></DIV><BR>
<DIV>
<DIV>On Feb 9, 2009, at 11:38 AM, Jim wrote:</DIV><BR class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV>Yes it is a release build. Do I need a debug or release build?</DIV>
<DIV> </DIV>
<DIV>Thank you.<BR><BR>--- On <B>Mon, 2/9/09, Clinton Stimpson <I><<A href="mailto:clinton@elemtech.com" target=_blank rel=nofollow>clinton@elemtech.com</A>></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Clinton Stimpson <<A href="mailto:clinton@elemtech.com" target=_blank rel=nofollow>clinton@elemtech.com</A>><BR>Subject: Re: [vtkusers] Install QVTKWidget into Qt Designer/Toolbox<BR>To: <A href="mailto:jiksed@yahoo.com" target=_blank rel=nofollow>jiksed@yahoo.com</A><BR>Cc: <A href="mailto:vtkusers@vtk.org" target=_blank rel=nofollow>vtkusers@vtk.org</A><BR>Date: Monday, February 9, 2009, 11:26 AM<BR><BR><PRE>Is this a release build?
Clint
Jim wrote:
> Dear vtkusers,
> I installed Qt 4.4.3 and built VTK 5.2.1 from source with Qt support in
VS2008 with BUILD_SHARED_LIB=OFF. I also built and executed those Qt examples
(SimpleView and ImageViewer) successfully. However, I could not find QVTKWidget
in Qt Designer/Toolbox after copying QVTKWidgetPlugin.dll and
QVTKWidgetPlugin.lib to this folder: \Qt\4.4.3\plugins\designer.
These two files are also very small (3 KB lib and 26 KB dll). My questions are
> 1) Do I have to have a shared build of VTK for this to work?
> 2) Where to look for QVTKWidget in Qt Toolbox? What will be the name of
QVTKWidget in Qt Toolbox?
> 3) Please let me know the right way to install QVTKWidget into Qt
Designer/Toolbox.
> Thank you.
> Jim
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Powered by <A href="http://www.kitware.com/" target=_blank rel=nofollow>www.kitware.com</A>
>
> Visit other Kitware open-source projects at
<A href="http://www.kitware.com/opensource/opensource.html" target=_blank rel=nofollow>http://www.kitware.com/opensource/opensource.html</A>
>
> Please keep messages on-topic and check the VTK FAQ at:
<A href="http://www.vtk.org/Wiki/VTK_FAQ" target=_blank rel=nofollow>http://www.vtk.org/Wiki/VTK_FAQ</A>
>
> Follow this link to subscribe/unsubscribe:
> <A href="http://www.vtk.org/mailman/listinfo/vtkusers" target=_blank rel=nofollow>http://www.vtk.org/mailman/listinfo/vtkusers</A>
>
</PRE></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></td></tr></table><br>