An open API service indexing awesome lists of open source software.

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

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.