+# gcc 4.2.1 on Maemo doesn't understand anything newer then c++98.
+# make sure we explicitly add the flag even when building
+# with a modern compiler.
+# Only under Qt4 because Qt5 needs c++11
+unix: {
+ equals( QT_MAJOR_VERSION, 4 ) {
+ QMAKE_CXXFLAGS += -std=c++98
+ }
+}