[vtkusers] Help with Qt/VTK integration

Michael Jackson mike.jackson at bluequartz.net
Tue Jul 14 13:18:37 EDT 2009


You need to specify "4" for the version of Qt to match what you  
downloaded.
---
Mike Jackson                 www.bluequartz.net



On Jul 14, 2009, at 1:13 PM, Albert King wrote:

> Hi,
>
> Thanks for the reply .In CmAKE I enabled gui support for vtk.It in  
> turn asked for vtk_qt on ,I DID the same, then it asked for version  
> of Qt I entered 3,when I did that error flashed qt not fond and more  
> over I can see only the following variables in red.
> 	• QT_INCLUDE_DIR
> 	• QT_MOC_EXECUTABLE
> 	• QT_QASSISTANT CLIENT_LIBRARY
> 	• QT_QT_LIBRARY
> 	• QT_UIC_EXECUATBLE.
>
> There is no QT_QMAKE_EXCUTABLE variable.Please Help.
>
>
>
> regards
>
>
> albert
>
>
> From: Michael Jackson <mike.jackson at bluequartz.net>
> To: Albert King <albert..king84 at yahoo.com>
> Cc: vtkusers at vtk.org
> Sent: Tuesday, July 14, 2009 10:29:59 PM
> Subject: Re: Help with Qt/VTK integration
>
> Please always use a subject.
>
> Launch CMake-Gui.exe.
> Set the source code to the VTK sources
> Set the "build the binaries" to your VTK binary directory.
>
> Now look for a cmake variable called QT_QMAKE_EXECUTABLE in the list  
> of variables. Manually set that to C:/2009.03/bin/qmake.exe  
> (Assuming you installed qt into the top part of your C: drive.
>
> Click the configure button.
> If there are no errors then click the "Generate" button.
>
> You should be now able to build VTK with the Qt components.
>
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
>             www.bluequartz.net
>
> On Jul 14, 2009, at 12:54 PM, Albert King wrote:
>
> > Hi Michael,
> >
> > I have downloaded the LGPL/Free Qt sdk for windows ,after  
> installation there is a qt directory created by name 2009.03.It has  
> a qmake.exe file in the bin directory.I set this path in the  
> environment variables,but CMake is unable to recognize it.Can you  
> please help me in this regard.In your reply mail you mentioned *tell  
> Cmake where to find qmake .exe* how to do this?
> >
> > My vtk is 5.4.2.Please Help.Thanks in Advance.
> >
> >
> > Regards
> >
> > Albert
> >
> >
> >
>
>
>




More information about the vtkusers mailing list