summaryrefslogtreecommitdiff
path: root/examples/player/player.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/player/player.pro')
-rw-r--r--examples/player/player.pro8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/player/player.pro b/examples/player/player.pro
index 3adde0b..199afd1 100644
--- a/examples/player/player.pro
+++ b/examples/player/player.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