[CMake] [PATCH] FindQt4.cmake qt4_automoc improvements

Andreas Pakulat apaku at gmx.de
Tue May 20 04:29:53 EDT 2008


On 19.05.08 21:19:20, Bill Hoffman wrote:
> Tanguy Krotoff wrote:
>
>> What about "my" problem? I've just added a small macro that remove all
>> the useless include dirs without touching UseQt4.cmake:
>> http://code.google.com/p/phonon-vlc-mplayer/source/browse/trunk/cmake/ReduceQtIncludeDirs.cmake
>>
>> What do you think about it?
>>
> I guess it will be OK, as long as Trolltech has cleaned up all of the .h  
> files in Qt itself. 

Yes they are and AFAIK there's a policy within TT that you can't use the
"short" form for any public header. The same thing is true for KDE's
kdelibs module, no public header is allowed to #include <QMainWindow>
they all have to work with just passing -I/some/path/to/qt/include.

Andreas

-- 
Your best consolation is the hope that the things you failed to get weren't
really worth having.


More information about the CMake mailing list