[Development] Proposal: Deprecating platforms in Qt 5.6 that don't support lambda

BogDan bog_dan_ro at yahoo.com
Fri Feb 20 12:15:32 CET 2015


I fully agree with you, but, sadly, I think it will not be possible in 5.x.
IMHO for the start  we should use C++11/14 in the QPA plugins when we know for sure that the compiler supports these features.E.g. I already used (stashed) some C++11 features in the Android QPA, but sometime I got -1s because I used them ...
Cheers,BogDan

     On Friday, February 20, 2015 12:53 PM, Daniel Teske <Daniel.Teske at theqtcompany.com> wrote:
   

 On Friday 20 Feb 2015 00:17:00 Mathias Hasselmann wrote:
> >>> [...]
> >>  [...]
> >  [...]
> [...]

I guess my point that the ranged based for loop and qt containers don't mix 
too well is now very much proven by the depth of this particular discussion.

The upcoming Ranges TS has also uses std::begin and std::end. That means that 
qt containers will require special care to use with that TS. 

That is Qt is in danger of being hard to use with modern C++ in this area. 

My point is, if we don't use C++11 ourselves we won't find out in which areas 
Qt and modern C++ don't mix, and we won't fix them. We will be stuck being a 
C++98 toolkit that is slowly getting obsolete. 

daniel
_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150220/377659b9/attachment.html>


More information about the Development mailing list