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

George Kiagiadakis kiagiadakis.george at gmail.com
Mon May 25 10:13:04 PDT 2009


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.

Regards,
George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Export-stl-compatibility-methods-only-if-QT_NO_STL-i.patch
Type: text/x-diff
Size: 1039 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/telepathy/attachments/20090525/c77a15d6/attachment.patch 


More information about the telepathy mailing list