News for hackers. Stuff that matters.
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?
Re:Qt 5.6.0 released by distances on Wednesday March 16, 2016 @02:06PM (#11299396)
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

[2] https://woboq.com/blog/moc-myths.html

Re:Qt 5.6.0 released by rhodysurf on Wednesday March 16, 2016 @04:47PM (#11300554)
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.

Re:Qt 5.6.0 released by slavik81 on Wednesday March 16, 2016 @05:45PM (#11300927)
You could use C++14 with Qt4 if you wanted. Your choice of standard doesn't really affect Qt much.
Re:Qt 5.6.0 released by simfoo on Wednesday March 16, 2016 @01:58PM (#11299322)
Yes and yes