I'm using QtTest and just updated to Qt 5.9 and have this kind of warnings:
error: use of the 'fallthrough' attribute is a C++1z extension [-Werror,-Wc++1z-extensions]
They all point to Q_FALLTHROUGH()
in qtestmouse.h
So obviously I need to add something to QMAKE_CXXFLAGS
but can't find out what exactly.
I can ignore these warnings with pragma
but want to understand this topic a little more.