summaryrefslogtreecommitdiffstats
path: root/DOCS/client_api_examples/qtexample.pro
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-04 02:21:14 +0200
committerwm4 <wm4@nowhere>2014-07-04 02:24:49 +0200
commitfe4fbb5775f3c663248c1341667e57529c37a114 (patch)
tree759cc33328ff54a50779fc105dbbd6a280ead2ed /DOCS/client_api_examples/qtexample.pro
parent4fedf86b8a7f19149e71041f12e417a3b0c7d7c8 (diff)
downloadmpv-fe4fbb5775f3c663248c1341667e57529c37a114.tar.bz2
mpv-fe4fbb5775f3c663248c1341667e57529c37a114.tar.xz
DOCS/client_api_examples: add a Qt example
This is pretty dumb and extremely basic. The main purpose is demonstrating how to integrate mpv into the Qt GUI thread.
Diffstat (limited to 'DOCS/client_api_examples/qtexample.pro')
-rw-r--r--DOCS/client_api_examples/qtexample.pro12
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/client_api_examples/qtexample.pro b/DOCS/client_api_examples/qtexample.pro
new file mode 100644
index 0000000000..03174b8778
--- /dev/null
+++ b/DOCS/client_api_examples/qtexample.pro
@@ -0,0 +1,12 @@
+QT += core gui
+
+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
+
+TARGET = qtexample
+TEMPLATE = app
+
+CONFIG += link_pkgconfig
+PKGCONFIG = mpv
+
+SOURCES += qtexample.cpp
+HEADERS += qtexample.h