[CMake] RE: Qt 4.0 support in CMake and VTK
Moreland, Kenneth
kmorel at sandia.gov
Thu Aug 25 11:26:52 EDT 2005
OK. I think I see what is going on. The problem is that
QT_QGLOBAL_H_FILE is not being set properly. Thus, Qt is not really
found, but CMake is not reporting an error.
CMake seems to be finding the correct qmake, but qmake -query
QT_INSTALL_HEADERS returns /usr/local/Trollteh/Qt-4.0.1/include, which
does not exist. Apparently this is a Qt install problem, not really a
CMake problem.
-Ken
> -----Original Message-----
> From: Clinton Stimpson [mailto:clinton at elemtech.com]
> Sent: Thursday, August 25, 2005 9:12 AM
> To: Moreland, Kenneth
> Cc: Ken Martin; Wylie, Brian; cmake at cmake.org
> Subject: Re: Qt 4.0 support in CMake and VTK
>
> Moreland, Kenneth wrote:
>
> >>Did you have Qt4's qmake in the PATH ?
> >>QT_MOC_EXECUTABLE needs to be set to your Qt4's moc.
> >>
> >>
> >>
> >
> >Yes. The problem is that FindQt.cmake does not set
> QT_MOC_EXECUTABLE
> >anywhere. Where is QT_MOC_EXECUTABLE being set?
> >
> >-Ken
> >
> It gets set in FindQt4.cmake.
> Clint
>
>
>
More information about the CMake
mailing list