https://github.com/trin94/embed-other-applications-inside-qtquick
Sample code for QTBUG-109674
https://github.com/trin94/embed-other-applications-inside-qtquick
Last synced: 3 months ago
JSON representation
Sample code for QTBUG-109674
- Host: GitHub
- URL: https://github.com/trin94/embed-other-applications-inside-qtquick
- Owner: trin94
- Created: 2022-12-28T20:54:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T14:55:09.000Z (about 1 year ago)
- Last Synced: 2025-01-17T13:16:06.324Z (4 months ago)
- Language: Python
- Homepage: https://bugreports.qt.io/browse/QTBUG-109674
- Size: 21.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Installation
1. Clone this repository
1. Setup virtual environment:
1. `python -m venv venv`
1. `source venv/bin/activate` (*bash*) or `source venv/bin/activate.fish` (*fish*)
1. Install requirements `python -m pip install -r requirements.txt`
1. Continue with **Setup Windows** or **Setup Linux**## Setup Windows
Download a windows build from here: https://sourceforge.net/projects/mpv-player-windows/files/libmpv/
Make sure that you have a mpv-2.dll **not a mpv-1.dll/mpv-3.dll** and place it at the root of this repository.## Setup Linux
Make sure you have a libmpv version installed (v0.33.0+). If not install one via your package manager.
# Demonstration
## Windows
https://github.com/trin94/embed-other-applications-inside-qtquick/assets/12988790/d166d418-c542-4aab-8f60-8112dfb6e5a4
## Linux Xorg
[sample-linux-xorg.webm](https://github.com/trin94/embed-other-applications-inside-qtquick/assets/12988790/23c9e3cc-fadf-492f-bab1-b55d4d584ab2)
With `flags: Qt.FramelessWindowHint | Qt.Tool` in the transparent window.
# Video Licences
Videos are from: https://github.com/Matroska-Org/matroska-test-files
Both Big Buck Bunny and Elephant Dreams and licensed under the Creative Common License Attribution license, also known
as CC-BY.The recommended license text for Big Buck Bunny is (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org.
The recommended license text for Elephant Dreams is (c) copyright 2006, Blender Foundation / Netherlands Media Art
Institute / www.elephantsdream.org.