<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Clinton: Thank you for this&nbsp;helpful link. Copy QVTKWidgetPlugin.dll&nbsp;to the following folder solved the problem. </DIV>
<DIV>&nbsp;</DIV>
<DIV>C:\Program Files\Trolltech\Qt VS Integration\plugins\designer</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now I can see QVTKWidget in both Qt Designer Widget box and VS 2008 Qt Toolbox. FYI, here is my system info:</DIV>
<DIV>&nbsp;</DIV>
<DIV>WinXP Pro (32 bit)</DIV>
<DIV>VS 2008 Pro</DIV>
<DIV>Qt 4.4.3</DIV>
<DIV>VTK 5.2.1 (worked for both static and dynamic builds)</DIV>
<DIV><BR><BR>--- On <B>Mon, 2/9/09, Clinton Stimpson <I>&lt;clinton@elemtech.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">From: Clinton Stimpson &lt;clinton@elemtech.com&gt;<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, 1:51 PM<BR><BR><PRE>Does this answer your question?
http://lists.trolltech.com/qt-interest/2008-04/thread00068-0.html
If not, you should check the qt list and post there.

Clint

Jim wrote:
&gt; Hi Clinton,
&gt;  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.
&gt; 
&gt;  
&gt; Thank you.
&gt; 
&gt; Jim
&gt; 
&gt; 
&gt; --- On *Mon, 2/9/09, Clinton Stimpson /&lt;clinton@elemtech.com&gt;/*
wrote:
&gt; 
&gt;     From: Clinton Stimpson &lt;clinton@elemtech.com&gt;
&gt;     Subject: Re: [vtkusers] Install QVTKWidget into Qt Designer/Toolbox
&gt;     To: jiksed@yahoo.com
&gt;     Cc: vtkusers@vtk.org
&gt;     Date: Monday, February 9, 2009, 11:49 AM
&gt; 
&gt; 
&gt;     It needs to match the build type of the designer, which is
&gt;     typically release.
&gt;     Have you tried the Help -&gt; About Plugins dialog in the Designer to
&gt;     check for errors?
&gt;     If its not in the list, you didn't put the dll in the right place.
&gt;      If there is an error loading it, it gives you the error.
&gt; 
&gt;     Also, it doesn't matter if VTK is shared libs or not.  Only the
&gt;     .dll needs to be copied to the plugins/designer directory.
&gt;     It shows up in the toolbox under "QVTK"
&gt; 
&gt;     Clint
&gt; 
&gt; 
&gt;     On Feb 9, 2009, at 11:38 AM, Jim wrote:
&gt; 
&gt;&gt;     Yes it is a release build. Do I need a debug or release build?
&gt;&gt;          Thank you.
&gt;&gt; 
&gt;&gt;     --- On *Mon, 2/9/09, Clinton Stimpson /&lt;clinton@elemtech.com
&gt;&gt;     &lt;mailto:clinton@elemtech.com&gt;&gt;/* wrote:
&gt;&gt; 
&gt;&gt;         From: Clinton Stimpson &lt;clinton@elemtech.com
&gt;&gt;         &lt;mailto:clinton@elemtech.com&gt;&gt;
&gt;&gt;         Subject: Re: [vtkusers] Install QVTKWidget into Qt
&gt;&gt;         Designer/Toolbox
&gt;&gt;         To: jiksed@yahoo.com &lt;mailto:jiksed@yahoo.com&gt;
&gt;&gt;         Cc: vtkusers@vtk.org &lt;mailto:vtkusers@vtk.org&gt;
&gt;&gt;         Date: Monday, February 9, 2009, 11:26 AM
&gt;&gt; 
&gt;&gt;         Is this a release build?
&gt;&gt;         Clint
&gt;&gt; 
&gt;&gt;         Jim wrote:
&gt;&gt;         &gt; Dear vtkusers,
&gt;&gt;         &gt;  I installed Qt 4.4.3  and built VTK 5.2.1 from source
with Qt support in
&gt;&gt;         VS2008 with BUILD_SHARED_LIB=OFF. I also built and executed
those Qt examples
&gt;&gt;         (SimpleView and ImageViewer) successfully. However, I could
not find QVTKWidget
&gt;&gt;         in Qt Designer/Toolbox after copying QVTKWidgetPlugin.dll and
&gt;&gt;         QVTKWidgetPlugin.lib to this folder:
\Qt\4.4.3\plugins\designer.
&gt;&gt;         These two files are also very small (3 KB lib and 26 KB dll).
My questions are
&gt;&gt;         &gt;  1)  Do I have to have a shared build of VTK for this to
work?
&gt;&gt;         &gt; 2) Where to look for QVTKWidget in Qt Toolbox? What will
be the name of
&gt;&gt;         QVTKWidget in Qt Toolbox?
&gt;&gt;         &gt; 3) Please let me know the right way to install QVTKWidget
into Qt
&gt;&gt;         Designer/Toolbox.
&gt;&gt;         &gt;  Thank you.
&gt;&gt;         &gt; Jim
&gt;&gt;         &gt;         &gt;         &gt;
------------------------------------------------------------------------
&gt;&gt;         &gt;         &gt;
_______________________________________________
&gt;&gt;         &gt; Powered by www.kitware.com
&lt;http://www.kitware.com/&gt;
&gt;&gt;         &gt;         &gt; Visit other Kitware open-source projects at
&gt;&gt;         http://www.kitware.com/opensource/opensource.html
&gt;&gt;         &gt;         &gt; Please keep messages on-topic and check the
VTK FAQ at:
&gt;&gt;         http://www.vtk.org/Wiki/VTK_FAQ
&gt;&gt;         &gt;         &gt; Follow this link to subscribe/unsubscribe:
&gt;&gt;         &gt; http://www.vtk.org/mailman/listinfo/vtkusers
&gt;&gt;         &gt;   
&gt;&gt;                             
&gt;&gt; 
&gt; 
&gt; 

</PRE></BLOCKQUOTE></td></tr></table><br>