From 8abdabc984be8dbce9e69cd6215e7085305f22e0 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Thu, 1 Jan 2015 23:54:35 +0000 Subject: [PATCH] #5700: Add -std=gnu++11 to QMAKE_CXXFLAGS for Qt 4 and g++/clang++ --- qt/qtr.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/qtr.pro b/qt/qtr.pro index bcacceb00..43678f118 100644 --- a/qt/qtr.pro +++ b/qt/qtr.pro @@ -36,6 +36,8 @@ win32:DEFINES += QT_DBUS win32:LIBS += -levent-2.0 -lws2_32 -lintl win32:LIBS += -lidn -liconv -lwldap32 -liphlpapi +lessThan(QT_MAJOR_VERSION, 5):*-g++*:QMAKE_CXXFLAGS += -std=gnu++11 + TRANSLATIONS += translations/transmission_en.ts \ translations/transmission_es.ts \ translations/transmission_eu.ts \ -- 2.40.0