[vtkusers] Building VTK with QtSDK

Gib Bogle g.bogle at auckland.ac.nz
Thu Jan 12 00:01:22 EST 2012


Thanks Cory!  I editted cmakecache.txt, and now the cmake step works.  Is this 
the right thing to do?

Gib

On 12/01/2012 5:44 p.m., Cory Quammen wrote:
> In my experience, all you need to do is to set the QT_QMAKE_EXECUTABLE
> to point to the qmake.exe that comes with the QtSDK, and the rest of
> the Qt-related variables will be set appropriately.
>
> Hope that helps,
> Cory
>
> On Wed, Jan 11, 2012 at 11:29 PM, Gib Bogle<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
>>



More information about the vtkusers mailing list