QT_NO_STL in KDE4

Alexander Neundorf neundorf at kde.org
Wed Sep 13 21:00:26 BST 2006


On Wednesday 13 September 2006 21:54, Kleag wrote:
> Le mercredi 13 septembre 2006 18:41, David Faure a écrit :
> > On Wednesday 13 September 2006 17:35, Dirk Mueller wrote:
> > Does it really need conversion to/from STL classes? Isn't it enough to
> > use
>
> Well, I just use a library eavily using STL  (boost::spirit) and I have to
> convert to/from std::string taking care of staying always with UTF-8
> encoding (I don't want to have a C-string intermediate, just because it's
> not elegant). Thus in this case, I just want to use QString::fromStdString
> and QString::toStdString. Just being able to remove the define would be
> enough (is already possible ? Does the remove_definitions function exist ?

Yes.

> I generally use as much as possible STL and boost because it's a standard
> for the first one and usually elegant for the second one (and also, I'm
> just used to them :-) ). 

Feel free to do so :-)

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net




More information about the kde-core-devel mailing list