Re:Qt 5.6.0 released
by tomjen3 on Wednesday March 16, 2016 @01:50PM
(#11299268)
Can I use the new fancy compiler stuff like Lambdas with QT? Does it still require a meta compiler?
[ Parent
| on HN ]
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].
Wow I had no idea you could put lambdas in place of slots!! Thanks!!
Re:Qt 5.6.0 released
by justsaysmthng on Wednesday March 16, 2016 @01:58PM
(#11299323)
Yes, you can use C++ 11 features with Qt.
In Qt 5.4 I had to add
CONFIG += c++11
to the .pro file.
I haven't used it, but it seems Qt 5.5 supports C++ 14.
You could use C++14 with Qt4 if you wanted. Your choice of standard doesn't really affect Qt much.