[vtkusers] QVTKApplication.h

David Gobbi david.gobbi at gmail.com
Thu Dec 2 17:33:37 EST 2010


According to the logs, QVTKApplication.h was created in May 2010.
So it is only in the vtk head, it isn't in any releases yet.  Could it be
that you have a mix of different versions of VTK on your system?

All the configuration info is saved in the CMakeCache.txt

  David


On Thu, Dec 2, 2010 at 3:26 PM, Gib Bogle <g.bogle at auckland.ac.nz> wrote:

> 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?
>
> Thanks
> Gib
>
>
> On 3/12/2010 11:09 a.m., David Gobbi wrote:
>
>> I just ran that example to be sure.  It works, so it seems to be
>> up-to-date.  The only thing I did was ran cmake and then make,
>> there were some warnings but no errors.
>>
>> The header file QVTKApplication.h is in VTK/GUISupport/Qt, but
>> cmake should automatically configure the include path for you (like
>> it did for me).
>>
>> Are you sure that VTK_USE_QT was ON when you built VTK?
>>
>>   David
>>
>>
>> On Thu, Dec 2, 2010 at 2:55 PM, Gib Bogle <g.bogle at auckland.ac.nz
>> <mailto:g.bogle at auckland.ac.nz>> wrote:
>>
>>    I'm trying to build the example GUI/Qt/Events/GUI4.cxx, but it requires
>>    QVTKApplication.h, which I haven't been able to locate.  Is this an
>> obsolete
>>    example?
>>
>>    Thanks
>>    Gib
>>    _______________________________________________
>>    Powered by www.kitware.com <http://www.kitware.com>
>>
>>
>>    Visit other Kitware open-source projects at
>>    http://www.kitware.com/opensource/opensource.html
>>
>>    Please keep messages on-topic and check the VTK FAQ at:
>>    http://www.vtk.org/Wiki/VTK_FAQ
>>
>>    Follow this link to subscribe/unsubscribe:
>>    http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101202/c2711c71/attachment.htm>


More information about the vtkusers mailing list