According to the logs, QVTKApplication.h was created in May 2010.<div>So it is only in the vtk head, it isn't in any releases yet. Could it be</div><div>that you have a mix of different versions of VTK on your system?</div>
<div><br></div><div>All the configuration info is saved in the CMakeCache.txt</div><div><br></div><div> David</div><div><br><div><br><div class="gmail_quote">On Thu, Dec 2, 2010 at 3:26 PM, Gib Bogle <span dir="ltr"><<a href="mailto:g.bogle@auckland.ac.nz">g.bogle@auckland.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Well, that's a puzzle. QVTKApplication.h is not in my VTK/GUISupport/Qt. I feel certain that I must have had VTK_USE_QT set ON when I build VTK - my whole aim has been using VTK with Qt, and everything is working. I notice that another Qt example that I built, and my own project, uses <QApplication>. Could you remind me how to check what settings I used to build VTK?<br>
<br>
Thanks<br>
Gib<div class="im"><br>
<br>
On 3/12/2010 11:09 a.m., David Gobbi wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I just ran that example to be sure. It works, so it seems to be<br>
up-to-date. The only thing I did was ran cmake and then make,<br>
there were some warnings but no errors.<br>
<br>
The header file QVTKApplication.h is in VTK/GUISupport/Qt, but<br>
cmake should automatically configure the include path for you (like<br>
it did for me).<br>
<br>
Are you sure that VTK_USE_QT was ON when you built VTK?<br>
<br>
David<br>
<br>
<br>
On Thu, Dec 2, 2010 at 2:55 PM, Gib Bogle <<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a><br></div><div class="im">
<mailto:<a href="mailto:g.bogle@auckland.ac.nz" target="_blank">g.bogle@auckland.ac.nz</a>>> wrote:<br>
<br>
I'm trying to build the example GUI/Qt/Events/GUI4.cxx, but it requires<br>
QVTKApplication.h, which I haven't been able to locate. Is this an obsolete<br>
example?<br>
<br>
Thanks<br>
Gib<br>
_______________________________________________<br></div>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> <<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>><div class="im"><br>
<br>
Visit other Kitware open-source projects at<br>
<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:<br>
<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>
<br>
</div></blockquote>
</blockquote></div><br></div></div>