From 7de834bc363f77b84acaaa0fdacb37c5e88f68f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 25 Jan 2017 19:13:40 +0200 Subject: [PATCH] qt: The videooverlay example requires at least C++11 ... and clang requires this to be specified on the commandline while gcc nowadays defaults to C++11 or even newer. --- tests/examples/overlay/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/overlay/Makefile.am b/tests/examples/overlay/Makefile.am index 6bcdb8ffc2..3af53bd06b 100644 --- a/tests/examples/overlay/Makefile.am +++ b/tests/examples/overlay/Makefile.am @@ -16,7 +16,7 @@ if HAVE_QT EXAMPLES += qt-videooverlay qt_videooverlay_SOURCES = qt-videooverlay.cpp -qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS) -fPIC +qt_videooverlay_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(X_CFLAGS) $(QT_CFLAGS) -fPIC -std=c++11 qt_videooverlay_LDADD = \ $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_API_VERSION).la \ $(GST_LIBS) $(X_LIBS) $(LIBM) $(QT_LIBS)