summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2019-02-08 14:39:27 +0900
committerjaseg <git@jaseg.net>2019-02-08 14:41:23 +0900
commit7117de4005cc470a45efd9cf2e9657bdf63a9079 (patch)
tree12c54c95c5c730cef3f4a7900205b6a63336d0a8
parent7905ebacdd0b8994e815246c95efc4add363dfae (diff)
downloadpython-mpv-7117de4005cc470a45efd9cf2e9657bdf63a9079.tar.gz
python-mpv-7117de4005cc470a45efd9cf2e9657bdf63a9079.tar.bz2
python-mpv-7117de4005cc470a45efd9cf2e9657bdf63a9079.zip
README: Add cosven's QT/OpenGL example
-rw-r--r--README.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 3c1f5bd..86b4205 100644
--- a/README.rst
+++ b/README.rst
@@ -208,6 +208,12 @@ PyGtk embedding
application = MainClass()
Gtk.main()
+Using OpenGL from PyQT
+......................
+
+Github user cosven_ has managed to `make mpv render into a Qt widget using OpenGL
+<https://gist.github.com/cosven/b313de2acce1b7e15afda263779c0afc>`__ through this python API.
+
Coding Conventions
------------------
@@ -217,3 +223,4 @@ No tabs. Probably don't bother making pure-formatting PRs except if you think it
.. _`PEP 8`: https://www.python.org/dev/peps/pep-0008/
.. _`mpv.py`: https://raw.githubusercontent.com/jaseg/python-mpv/master/mpv.py
+.. _cosven: https://github.com/cosven