[Telepathy] [PATCH] Telepathy-Qt4: Export stl compatibility methods only if QT_NO_STL is not defined.

Andre Moreira Magalhaes andre.magalhaes at collabora.co.uk
Mon May 25 11:35:16 PDT 2009


George Kiagiadakis wrote:
> Hello everybody,
>
> I'm building a kde project that uses the Telepathy-Qt4 library and it
> fails to compile because the kde build scripts by default set
> -DQT_NO_STL to the compiler flags and tpqt4 has one header-only inline
> method that uses the stl compatibility of Qt. The attached patch makes
> sure that this method is only exported if QT_NO_STL is not defined.
> Since the QList::toStdList() method is also only exported if QT_NO_STL
> is not defined, I think checking for the same flag in tpqt4 is the
> correct thing to do.
>   
+1. I will add to my tree and ask others for review.

Thanks
Andrunko


More information about the telepathy mailing list