Dear all,<div><br></div><div>I am having some trouble with some minimal "Hello World" code for running qvtkwidget in debug (it works fine in release). My set up is vtk (5.4.2) and qt (4.5.2) on Win XP. My IDE is qtcreator (1.2.1) and I am using qmake. My VTK installation seems to be correct and I can run pure vtk code in my ide with no problems.</div>
<div><br></div><div>The minimal code I created compiles successfully and my LIBS and INCLUDEPATH seem to be correct. However, at runtime in debug mode I get an error which occurs at; </div><div>widget = new QVTKWidget;</div>
<div><br></div><div>In release mode, the code both *compiles* and *runs* successfully.<br clear="all"><br></div><div>VTK dlls are specified in %PATH% and I have run dependency walker on the compiled exe and it finds all dlls. </div>
<div><br></div><div>However, I have noticed that QVTK.dll uses QTCORE4.dll and QTGUI4.dll and I have a feeling that this might conflict with QTCORE4D.dll and QTGUI4D.dll? Is this potentially the source of the error? And if so, how can I correct it?</div>
<div><br></div><div>I have seen similar problems here [<a href="http://www.vtk.org/pipermail/vtkusers/2009-March/099876.html">http://www.vtk.org/pipermail/vtkusers/2009-March/099876.html</a>] and a proposed solution in VS here [<a href="http://www.vtk.org/pipermail/vtk-developers/2008-August/005437.html">http://www.vtk.org/pipermail/vtk-developers/2008-August/005437.html</a>] and further reading here [<a href="http://www.vtk.org/pipermail/vtk-developers/2008-August/005427.html">http://www.vtk.org/pipermail/vtk-developers/2008-August/005427.html</a>].</div>
<div><br></div><div>However, I'm not sure how the solutions allow me to run in Debug mode in QTCreator. Any help would be greatly appreciated.</div>
<div><br></div><div>Thanks in advance,<br>-- <br>Michael <br>
</div>