Aller au contenu

Qtscrpc

Logicielpermettant de prendre le controle de son téléphone Android sur un ordinateur.

Connexion github

Nécessite d'avoir un compte github pour rappatrier le dépot,la connexion doit se faire en ssh.

ssh-keygen -t rsa -b 4096 -C "dfog22@hotmail.com"

Il faut ensuite sur connecter sur son compte github, dans le menu de gestion des clés (https://github.com/settings/keys) et ajouter la clé ssh générée précédemment qui est accessible via la commande suivante:

cat ~/.ssh/id_rsa.pub

Qtscrcpy

Download the project:
$ git clone --recurse-submodules git@github.com:barry-ran/QtScrcpy.git

Link: https://github.com/barry-ran/QtScrcpy

Qt Development Environment:

Download/Install "Another Qt installer(aqt)":

    Install pip (23.0.1):
    $ sudo apt install python3-pip

    How-To-Guide: Windows, Linux and Mac
    https://www.partitionwizard.com/partitionmanager/install-pip.html


Update pip:
$ pip install -U pip

Install AQT (v3.1.3):
$ pip install aqtinstall

Github Repository:
https://github.com/miurahr/aqtinstall

How-To-Guide: Windows, Linux and Mac
https://aqtinstall.readthedocs.io/en/latest/installation.htmlhttps://aqtinstall.readthedocs.io/en/latest/installation.html

List qt version:
$ aqt list-qt linux desktop

Install QT SDK(5.13.0):
$ aqt install-qt <host> <target> <version> <arch>
$ aqt install-qt linux desktop 5.13.0 gcc_64

3. Mesa Packages:

Required Packages:
\- mesa-common-dev
\- libglu1-mesa-dev

Install the packages:
$ sudo apt install mesa-common-dev libglu1-mesa-dev

Reference:
https://mesa.readthedocs.io/en/stable/packages.html

https://zoomadmin.com/HowToInstall/UbuntuPackage/mesa-common-dev

4. Build qtscrcpy:

$ ./ci/linux/build\_for\_linux.sh "Release"

Follow me :)