<div dir="ltr">Daer Julien, <div><br></div><div> I make it. I cmake ctk again ,and this time I turn on CTK_USE_QTTESTING,,and include the path "<span style="font-family:arial,sans-serif;font-size:14px">CTK-build/QtTesting-build/Release</span>" into PATH variable. </div>
<div><br></div><div>And, I also recmake VTK, with VTK_USE_Chart adn VTK_USE_Charts ON.</div><div><br></div><div>I works now. Many thanks, Julien!</div><div><br></div><div><div>Cheers,</div><div>Ka Hei</div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/18 Julien Finet <span dir="ltr"><<a href="mailto:julien.finet@kitware.com" target="_blank">julien.finet@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">It seems that QtTesting.dll is needed for <span style="font-family:arial,sans-serif;font-size:13px">CTKVisualizationVTKWidgetPlugi</span><span style="font-family:arial,sans-serif;font-size:13px">n, so you need to add its path in the PATH environment too.</span><div>
<span style="font-family:arial,sans-serif;font-size:13px">Hth,</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Julien.</span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">
On Thu, Oct 17, 2013 at 4:52 PM, Julien Finet <span dir="ltr"><<a href="mailto:julien.finet@kitware.com" target="_blank">julien.finet@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Kahei,<div>I would suggest you try to use <a href="http://www.dependencywalker.com/" target="_blank">Dependency Walker</a> in order to identify when DLL is missing in the PATH to correctly load <span style="font-size:13px;font-family:arial,sans-serif">CTKVisualizationVTKWidgetPlugi</span><span style="font-size:13px;font-family:arial,sans-serif">n.</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif">Just to</span>make sure, you did prefix "CTK-build/VTK-build/bin/Release" with the path of CTK on your machine, right ? <br>(for me it is "e:\work\CommonTK\CTK-build\VTK-build\bin\Release")</div>
<span><font color="#888888">
<div><br>Julien.<span style="font-family:arial,sans-serif;font-size:14px"> </span></div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 11:58 AM, Kahei Lok <span dir="ltr"><<a href="mailto:lokkahei.uniyccc4@gmail.com" target="_blank">lokkahei.uniyccc4@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What I want is CTKVisualizationVTKWidgetPlugin. I successful add CTKwidgetPlugin into Qt designer. However, CTKVisualizationVTKWidgetPlugin still cannot be added into Qt deisgner. I add <span style="font-family:arial,sans-serif;font-size:14px"> CTK-build/VTK-build/bin/</span><span style="font-family:arial,sans-serif;font-size:14px">Release into PATH, it still cannot.</span></div>
<div><div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/17 Julien Finet <span dir="ltr"><<a href="mailto:julien.finet@kitware.com" target="_blank">julien.finet@kitware.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">For CTKScriptingPythonWidgetsPlugins.dll, you also need to add the PythonQt.dll (in CTK-build/PythonQt-build/...)path into PATH.<div>You might also need to add the QtTesting.dll path (in CTK-build/QtTesting-build/...) as well.</div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 11:09 AM, Kahei Lok <span dir="ltr"><<a href="mailto:lokkahei.uniyccc4@gmail.com" target="_blank">lokkahei.uniyccc4@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I include the path into the environment, but still cannot add into the qt designer. Is it still missing something?</div>
<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/17 Julien Finet <span dir="ltr"><<a href="mailto:julien.finet@kitware.com" target="_blank">julien.finet@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm glad to hear it works for you.<div>For CTKVisualizationVTKWidgetsPlugins to load, you need to add the CTK-build/VTK-build/bin/Release path (the folder that contains the VTKCommon.dll and the other VTK dlls) to the PATH environment variable.</div>
<span><font color="#888888">
<div>Julien.</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 10:34 AM, Kahei Lok <span dir="ltr"><<a href="mailto:lokkahei.uniyccc4@gmail.com" target="_blank">lokkahei.uniyccc4@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Julien,<div><br></div><div> I find the problem is the debug/ release version of Qt library mix together. I try to separate them into Debug/ Release folder. Then it works. But I am still can not load the CTKVisualizationVTKWidgetPlugin.dll.</div>
<div><img src="cid:ii_141c6d6cd52e406f" alt="¤º¸m¹Ï¤ù 1"></div><div><br></div><div>What do I miss for this CTKVisualizationVTKWidgetPlugin.dll?</div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>