]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/global.pri
bump version from (unreleased) 0.6.5 to 0.7.0
[toast/confclerk.git] / src / global.pri
index 55a06e5495c745777d07df21ce0fe120a8c2a42e..337b841853e7de5eb8b389eae36690563df2729b 100644 (file)
@@ -4,7 +4,7 @@
 # USAGE: include(./global.pri)
 
 # VERSION
-VERSION = 0.5.3
+VERSION = 0.7.0
 DEFINES += VERSION=\\\"$$VERSION\\\"
 
 # Define 'MAEMO' specific CONFIG/DEFINE
@@ -24,3 +24,12 @@ contains( DISTRO, [Ii]nternet ) {
     }
 }
 
+# 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
+    }
+}