This is a demo about Qt5, including Qt Custom Widget, Qt Multithreaded Downloader, QML Video Player(using OpenGL, FFmpeg and SDL2)
English | 简体中文
Qt5
. More controls will be added in the future. Welcome to try it out and leave your comments.Name | Description |
---|---|
CustomWidgetDemos | Custom animation controls and examples |
MultithreadedDownloader | Multi-threaded Downloader |
QmlDemo | QML Learning project |
QmlFireworks | QML Fireworks (Particle System) Demo |
VideoPlayer | Video Player (Use FFmpeg and OpenGL ) |
Qt 5.15.2
.Microsoft Visual C++ 2019
, GCC 10
.Require Qt5
and FFmpeg
.
Install Qt5.
Install FFmpeg.
Windows
Download FFmpeg(shared libraries) and add the path to your system environment variable FFMPEG_PATH
.
Linux
sudo pacman -S ffmpeg # Arch
sudo apt install ffmpeg libavfilter-dev # Debian
Clone this repository and build from source.
git clone https://github.com/ho-229/QtDemos.git
# or https://gitee.com/ho229/QtDemos.git
cd QtDemos
mkdir build
cd build
qmake ..
make -j