Reason for -no-stl in qt-copy configure recommendation?

Stephan Kulow coolo at kde.org
Thu Apr 24 09:30:04 BST 2003


On Wednesday 23 April 2003 12:11, Marc Mutz wrote:
> Hi!
> 
> What's the reason for having -no-stl in the recommended configure line 
> for Qt?
> 
> It's breaking STL algorithms acting on Qt container classes (some 
> typedefs are omitted if QT_NO_STL is in effect).
> 
> Since the QTL is rather limited (I'm currently needing unique()), I'd 
> really love to use the STL algorithms on Qt containers.
> 
> Since we already use STL containers (e.g. in arts IIRC), the STL itself 
> shouldn't be a problem, should it?
> 
> Can we change the recommendation -no-stl to -stl for HEAD/3.2 then, 
> please?
Well, if you use it in the code, it's no longer a recommendation, it's a requirement
then. That's exactly why we do not use it and then recommend to compile the
lighter version 

Greetings, Stephan






More information about the kde-core-devel mailing list