mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-06 19:12:30 +01:00
2.7 KiB
2.7 KiB
Setup
- Download and install the tools for your platform first.
- Then see the instruction of how to setup QtCreator and compile ScreenPlay
Windows
- Download and install:
Linux
- Install dependencies for Debian/Ubuntu:
sudo apt install build-essential git gpg ffmpeg mesa-common-dev libxkbcommon-* libfontconfig curl zip unzip tar cmake pkg-config apt-transport-https ca-certificates gnupg software-properties-common wget software-properties-common python3 python3-pip libgl1-mesa-dev lld ninja-build qml-module-qt-websockets qtwebengine5-* -y
MacOS
- Install XCode 14+ , open and restart your device.
- Install brew that is needed by some third party vcpkg packages. Do not forget to add brew to your path as outlined at the on of the installation!
brew install pkg-config git llvm cmake
Setup QtCreator and compile ScreenPlay
- Clone ScreenPlay
git clone --recursive https://gitlab.com/kelteseth/ScreenPlay.git ScreenPlay/ScreenPlay
- Start the following script to download all needed dependencies automatically.
cd Tools
# Windows defaults to python
python setup.py
# Linux and macOS uses python3
python3 setup.py
- This will:
- Download
Qt
andQtCreator
into:- Windows:
C:\aqt
- MacOS and Linux:
~/aqt
- Windows:
- Create a
vcpkg
folder for dependencies - Compile the dependencies
- Download ffmpeg
- Download
- Open QtCreator
- Windows:
C:\aqt\Tools\QtCreator\bin\qtcreator.exe
- Linux:
~/aqt/Tools/QtCreator/bin/qtcreator
- MacOS:
~/aqt/qtcreator
- Windows:
- Select the imported temporary kit like
ScreenPlay 64bit Debug Windows MSVC 2022 Community
- Compile!
Developer docs
We use qdoc to generate documentation. Qt6 is the minimum version qdoc, because of vastly improved c++ parsing support.
- qdoc.exe configWindows.qdocconf If you have installed Qt in a different directory, change the path to your Qt location.
Some useful links: