[vtkusers] FindQt.cmake for Qt4
Clinton Stimpson
clinton at elemtech.com
Wed Apr 20 19:40:23 EDT 2005
One possible workaround is to do the following in the CMakeCache.txt file:
set QT_INCLUDE_DIR to multiple include paths separated by semi colons
set QT_QT_LIBRARY to the multiple Qt libraries separated by semi colons
For example --
QT_INCLUDE_DIR:PATH=/path/to/qt4/include;/path/to/qt4/include/QtCore;/path/to/qt4/include/QtGui
and
QT_QT_LIBRARY:FILEPATH=/path/to/qt4/lib/libQtGui.so;/path/to/qt4/lib/libQtCore.so
There are more includes and libraries in Qt4 dependening on what modules you
use.
Clint
> ------------------------------
>
> Message: 6
> Date: Wed, 20 Apr 2005 17:30:32 +0200
> From: Jens Henrik Goebbert <jens.goebbert at post.rwth-aachen.de>
> Subject: [vtkusers] FindQt.cmake for Qt4
> To: vtkusers at vtk.org
> Message-ID: <200504201730.32754.jens.goebbert at post.rwth-aachen.de>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hi
> I have noticed that the Qt-module of Vtk in GUISupport/Qt now supports Qt4.
> That's great because I already tried to port "vtkqt" to Qt4 with little
> success. Even if it would have worked, it is much better to have support from
> vtk itself to make sure having a working module for future versions of vtk.
>
> So I got the source of vtk and cmake using CVS. I also installed qt4-rc1
> (which works fine using kdevelop).
>
> The problem is CMakes-Module "FindQt.cmake" in "CMake/Modules".
> It does not support Qt4.
> Is anybody out there who has already modified FindQt.cmake for Qt4.
>
> Bye
> Jens Henrik
>
> P.S:
> If the person who modified the Qt-Module of vtk is reading this -- can you
> send me your FindQt.cmake or tell me how to compile GUISupport/Qt
>
More information about the vtkusers
mailing list