I think you need to compile VTK with USE_QT_OPENGL = ON .. or just use QVTKWidget . <br><br><div class="gmail_quote">On Thu, Apr 12, 2012 at 3:22 PM, Doug Hoppes <span dir="ltr">&lt;<a href="mailto:dhoppes@mbfbioscience.com">dhoppes@mbfbioscience.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">                I’m having an issue with QT and VTK.  I’m incorporating parts of the example code into my code (slowly) and found the issue?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
                --------------------------------------------------------<u></u><u></u></p><p class="MsoNormal" style="text-autospace:none">                <span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">mCtx</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> = <span style="color:blue">new</span> <span style="color:#010001">QGLContext</span>(<span style="color:#010001">QGLFormat</span>());<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">      <span style="color:#010001">mWidget</span> = <span style="color:blue">new</span> <span style="color:#010001">QVTKWidget2</span>(<span style="color:#010001">mCtx</span>);<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">      -----------------------------------<u></u><u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">      The code compiles fine.  However, whenever I run it, I get the following error: “The procedure point ??)QVKWidget2@@QEAA@PEAVQLContext@@PEAVQWidget@@PEBVQGLWidget@@V?$QFlags@W4WindowType@QT@@@@@Z could not be located in the dynamic link library QVTK.dll.<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Anybody knows what this means?  Is there something missing from our VTK builds?<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">Doug<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>