[CMake] FindQT.cmake on windows

Alexander Neundorf a.neundorf-work at gmx.net
Wed Apr 9 14:55:38 EDT 2008


On Wednesday 09 April 2008, Andreas Pakulat wrote:
> On 09.04.08 10:48:30, Mike Arthur wrote:
> > On Wednesday 09 April 2008 10:37:39 Andreas Pakulat wrote:
> > > Thats because qmake is in the PATH on unix usually, I think it works
> > > autoamtically on windows too if the Qt/bin path is listed in the PATH
> > > environment variable.
> >
> > Is there any reason FindQT couldn't just look (by default) in the default
> > Qt Windows install location?
>
> Probably, but having a quick look at FindQt.cmake that file is a
> complete hack in itself, its underdocumented and you should probably use

It's a big file, mainly due to the fact that Qt has been split into many 
modules, the structure in itself is quite ok.
The dependency detection near the end is a bit hacky (that's why I didn't 
transfer that part (yet) to KDEs FindQt4.cmake).

Alex


More information about the CMake mailing list