diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2013-06-07 14:32:54 +0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2013-06-09 19:20:26 +0300 |
commit | 0f718aebd7805d291c8afa357cef7748e9813adf (patch) | |
tree | c6025be1de882be12225b18f9177d0826fc9bfd7 /examples/voip/voip.pro | |
parent | 42015febada2f0122409db9a85c3948f6892b02f (diff) |
examples: Fix make examples_distcheck with Qt5
Diffstat (limited to 'examples/voip/voip.pro')
-rw-r--r-- | examples/voip/voip.pro | 8 |
1 files changed, 7 insertions, 1 deletions
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 |