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

Matthew Woehlke mw_triad at users.sourceforge.net
Fri Feb 20 01:08:55 CET 2015


On 2015-02-19 16:27, Kevin Funk wrote:
> On Thursday 19 February 2015 15:41:42 Matthew Woehlke wrote:
>> p.s. It would be cool if these restrictions could be relaxed by adding
>> an overload that takes a QObject that "owns" the slot.
> 
> http://doc.qt.io/qt-5/qobject.html#connect-6 (since Qt 5.2)
> 
> Isn't that what you need?
> - Resolves issues with thread-affinity (via QueuedConnection if req.)
> - Automatic disconnect when the receiver/context is destroyed

Um... how'd I miss that? Thanks! :-)

-- 
Matthew




More information about the Development mailing list