This is the source code of the Stream Deck OBS Studio plugin for Windows and macOS.
- Install any necessary prerequisites:
- Git for Windows
- CMake (minimum 3.8, recommended 3.11+)
- Visual Studio 2019 (Community or higher)
- Clone the project including all submodules
git clone --recurse-submodules <url> <dir>
- Configure the project with CMake, either using
cmake-gui
orcmake
.cmake
:- Navigate to the cloned directory:
cd /D <dir>
- Configure the project with cmake:
cmake -H. -Bbuild -G"Visual Studio 16 2019"
- Build the project with cmake:
cmake --build "build" --config RelWithDebInfo
- If you change any files, all you have to do is re-run step 3 in the correct directory.
- Navigate to the cloned directory:
cmake-gui
:- Change the source directory to the cloned project.
- Change the build directory to any directory you want.
- Click
Configure
and set things up for Visual Studio. - Click
Generate
and wait. - Click
Open Project
which opens up Visual Studio with the current project. - Build the project with Visual Studio.
- If you change any files, just rebuild with Visual Studio.
- Install any necessary prerequisites:
- Debian-based:
apt-get install \ build-essential checkinstall pkg-config \ git cmake ninja-build \ qt5base5-dev libqt5svg5-dev libqt5x11extras5-dev
- openSUSE:
zypper in \ build-essential checkinstall pkg-config \ git cmake ninja-build gcc gcc-c++ \ libqt5-qtbase-devel libqt5-qtx11extras-devel
- Red Hat / Fedora-based:
apt-get install \ gcc gcc-c++ \ git cmake ninja-build \ qt5-qtbase-devel qt5-qtx11extras-devel qt5-qtsvg-devel
- Debian-based:
- Clone the project including all submodules
git clone --recurse-submodules <url> <dir>
- Configure the project with CMake, either using
cmake-gui
orcmake
.cmake
:- Navigate to the cloned directory:
cd <dir>
- Configure the project with cmake:
cmake -H. -Bbuild -G"Ninja"
- Build the project with cmake:
cmake --build "build" --config RelWithDebInfo
- If you change any files, all you have to do is re-run step 3 in the correct directory.
- Navigate to the cloned directory:
cmake-gui
:- Change the source directory to the cloned project.
- Change the build directory to any directory you want.
- Click
Configure
and set things up for the compiler and IDE of choice. - Click
Generate
and wait. - Click
Open Project
which opens up the IDE for further editing.
- Install any necessary prerequisites:
- Clone the project including all submodules
git clone --recurse-submodules <url> <dir>
- Configure the project with CMake, either using
cmake-gui
orcmake
.cmake
:- Navigate to the cloned directory:
cd <dir>
- Configure the project with cmake:
cmake -H. -Bbuild -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
- Build the project with cmake:
cmake --build "build" --config RelWithDebInfo
- If you change any files, all you have to do is re-run step 3 in the correct directory.
- Navigate to the cloned directory:
cmake-gui
:- Change the source directory to the cloned project.
- Change the build directory to any directory you want.
- Click
Configure
and set things up for the compiler and IDE of choice (Xcode most likely). - Change the entry
CMAKE_OSX_DEPLOYMENT_TARGET
to10.15
. - Click
Generate
and wait. - Click
Open Project
which opens up the IDE for further editing.