From cf7c6cd7c6a962df58c5c3aa56cfa36f6b4531a5 Mon Sep 17 00:00:00 2001 From: serifpersia <62844718+serifpersia@users.noreply.github.com> Date: Sat, 19 Jul 2025 23:32:49 +0200 Subject: [PATCH] Update README.md --- README.md | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/README.md b/README.md index ab4ffb4..d57ed4d 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,81 @@ To make the driver load automatically every time you start your computer, follow Now, after a reboot, the `us144mkii` driver should load automatically. +## TascamControlPanel +A control panel app built with Qt6 and ALSA. + +Get it from releases or build it. + +## Prerequisites + +Before building the application, ensure you have the following installed on your system: + +* **CMake** (version 3.16 or higher) +* **C++ Compiler** (supporting C++17, e.g., GCC/G++) +* **Qt6 Development Libraries** (specifically the `Widgets` module) +* **ALSA Development Libraries** +* **Make** (or Ninja) + +### Installation of Prerequisites by Distribution + +#### Debian/Ubuntu + +sudo apt update +sudo apt install cmake build-essential qt6-base-dev qt6-base-dev-tools libasound2-dev + +#### Fedora/RHEL/CentOS + +sudo dnf install cmake "Development Tools" qt6-qtbase-devel alsa-lib-devel + +#### Arch Linux + +sudo pacman -Syu +sudo pacman -S cmake base-devel qt6-base alsa-lib + +#### openSUSE + +sudo zypper install cmake gcc-c++ libqt6-qtbase-devel alsa-devel + +## Building the Application + +Follow these steps to build the `TascamControlPanel` application from source: + +1. **Clone the repository** (if you haven't already): + + ```git clone https://github.com/serifpersia/us144mkii.git``` + + ```cd tascam_controls/``` + +2. **Create a build directory** and navigate into it: + + ```mkdir build``` + ```cd build``` + +3. **Configure the project** with CMake: + + ```cmake ..``` + + This step will check for all necessary dependencies and generate the build files. + +4. **Build the application**: + + ```make -j$(nproc)``` + + This command compiles the source code. The -j$(nproc) option uses all available CPU cores to speed up the compilation process. + +## Running the Application + +After a successful build, the executable will be located in the `build` directory. + +```./TascamControlPanel``` + +## Cleaning the Build + +To remove all compiled files and intermediate artifacts, simply delete the `build` directory: + +cd .. +rm -rf build ## License