summaryrefslogtreecommitdiffstats
path: root/rules/qt5.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/qt5.make')
-rw-r--r--rules/qt5.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/qt5.make b/rules/qt5.make
index 4fcbcf757..e4449292a 100644
--- a/rules/qt5.make
+++ b/rules/qt5.make
@@ -222,6 +222,10 @@ QT5_CONF_OPT += \
--$(call ptx/endis, PTXCONF_QT5_XRENDER)-xrender \
--$(call ptx/endis, PTXCONF_QT5_XV)-xvideo \
+# change default C++ standard
+# the detected standard is not used for configure and examples
+QT5_CXXFLAGS := -std=c++11
+
ifdef PTXCONF_QT5_MODULE_QTBASE_SQL_MYSQL
QT5_CONF_OPT += -mysql_config $(SYSROOT)/usr/bin/mysql_config
endif