[vtkusers] Building VTK with QtSDK

Gib Bogle g.bogle at auckland.ac.nz
Fri Jan 13 01:22:42 EST 2012


It was on, as was the QT flag.  Manually editting the cmakecache.txt file got it 
working.

Gib

On 13/01/2012 6:33 p.m., Jothybasu Selvaraj wrote:
> I think you need to set the GUI support flag ON.
>
> On Thu, Jan 12, 2012 at 9:59 AM, Gib Bogle <g.bogle at auckland.ac.nz 
> <mailto:g.bogle at auckland.ac.nz>> wrote:
>
>     I'm building VTK + VTK_USE_QT on Windows with QtSDK-4.7.3.  This is the
>     first time I've tried to build VTK using the Qt SDK.  cmake-gui gives an
>     error message:  Could not find Qt4.
>     I have set the environment variable QTDIR, and added %QTDIR%\bin to the PATH.
>     I have other programs that I build using Qt on this machine, but for these
>     I am using QtCreator - which obviously knows where to find Qt4.
>
>     Can someone tell me what I need to do to ensure that Qt4 is found by
>     cmake-gui (i.e. by cmake's FIND_PACKAGE()) when using QtSDK?
>
>     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/20120113/055dc282/attachment.htm>


More information about the vtkusers mailing list