Skip to content

Lyrecoul/QtVideoPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NewPlayer

简介

这是一个适用于带 ffmpeg 3.4.8 版本的 rk3326 网易有道词典笔 2 的 Qt 视频播放器。

编译

  1. 克隆本仓库(需要安装 Git LFS 以处理大文件)
git clone https://github.com/Lyrecoul/QtVideoPlayer.git
git lfs install
git lfs pull
  1. 克隆 Qt 仓库、gcc 工具链以及词典笔 /usr/libs 文件夹
git clone https://github.com/Lyrecoul/qt-5.15.2-for-aarch64-dictpen-linux.git
git clone https://github.com/Lyrecoul/aarch64-dictpen-linux-gnu-gcc-toolchain.git
git clone https://github.com/Lyrecoul/dictpen-libs.git
  1. 将 gcc 工具链添加到 PATH 环境变量

选择适合当前用户使用的 shell 对应命令并执行。

echo 'export PATH="$HOME/[工具链/bin]:$PATH"' >> ~/.bash_profile

echo 'export PATH="$HOME/[工具链/bin]:$PATH"' >> ~/.zshenv

fish_add_path -g -p ~/[工具链/bin]

echo 'setenv PATH "$HOME/[工具链/bin]:$PATH"' >> ~/.cshrc

echo 'setenv PATH "$HOME/[工具链/bin]:$PATH"' >> ~/.tcshrc

echo 'export PATH="$HOME/[工具链/bin]:$PATH"' >> ~/.profile

echo 'export PATH="$HOME/[工具链/bin]:$PATH"' >> ~/.profile

重启终端以使环境变量生效。

  1. 编译
./qt-5.15.2-for-aarch64-dictpen-linux/bin/qmake NewPlayer.pro
make -j$(nproc)
  1. 剥离调试符号
aarch64-dictpen-linux-gnu-strip NewPlayer

更新日志

详见 更新日志

鸣谢以下开源项目

About

适用于带 ffmpeg 3.4.8 版本的 rk3326 网易有道词典笔 2 的 Qt 视频播放器

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors