From 0f718aebd7805d291c8afa357cef7748e9813adf Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 7 Jun 2013 14:32:54 +0300 Subject: examples: Fix make examples_distcheck with Qt5 --- examples/voip/voip.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'examples/voip/voip.pro') diff --git a/examples/voip/voip.pro b/examples/voip/voip.pro index 07169e5..2d8ff03 100644 --- a/examples/voip/voip.pro +++ b/examples/voip/voip.pro @@ -10,7 +10,13 @@ CONFIG += silent CONFIG += link_pkgconfig # Now tell qmake to link to QtGStreamer and also use its include path and Cflags. -PKGCONFIG += QtGStreamer-0.10 QtGStreamerUi-0.10 +contains(QT_VERSION, ^4\\..*) { + PKGCONFIG += QtGStreamer-0.10 QtGStreamerUi-0.10 +} +contains(QT_VERSION, ^5\\..*) { + PKGCONFIG += Qt5GStreamer-0.10 Qt5GStreamerUi-0.10 + QT += widgets +} # Recommended if you are using g++ 4.5 or later. Must be removed for other compilers. #QMAKE_CXXFLAGS += -std=c++0x -- cgit v1.2.3