2 ms·
Lambdas can be used e.g. with the new signal-slot syntax [1]. And yes, Qt uses the meta compiler, and it's hopefully going to stay that way as moc has a clear p
by distances 11y ago
Lambdas can be used e.g. with the new signal-slot syntax [1]. And yes, Qt uses the meta compiler, and it's hopefully going to stay that way as moc has a clear positive impact both on features and speed [2].
[1] https://wiki.qt.io/New_Signal_Slot_Syntax https://wiki.qt.io/New_Signal_Slot_Syntax
[2] https://woboq.com/blog/moc-myths.html https://woboq.com/blog/moc-myths.html
- rhodysurf 11y agoWow I had no idea you could put lambdas in place of slots!! Thanks!!