前言

本文介绍银河麒麟桌面系统V10上开源截屏工具Capture的编译安装方法


一、安装git

sudo apt update
sudo apt install git -y

二、安装编译工具

银河麒麟桌面系统V10上已经预装了QtCreator、Qt5等工具、库,编译Capture需要额外安装一些工具

sudo apt install qt5-qmake libqt5x11extras5-dev -y

 

三、下载Capture源码

源码地址:https://github/hknarutofk/Capturer

git clone https://github/hknarutofk/Capturer.git

下载第三方依赖

cd Capture
git submodule init
git submodule update

四、编译Capture

mkdir build
cd build
/usr/lib/aarch64-linux-gnu/qt5/bin/qmake ..
make