#!/usr/bin/bash # Build and install the cyberqueer Qt6 style plugin. # Re-run after changing colors in CyberQueerStyle.cpp. set -euo pipefail DIR="$(dirname "$(realpath "$0")")" BUILD="$DIR/build" cmake -B "$BUILD" -S "$DIR" -DCMAKE_BUILD_TYPE=Release -Wno-dev --log-level=WARNING cmake --build "$BUILD" -j"$(nproc)" sudo cmake --install "$BUILD" echo "cyberqueer Qt style installed to /usr/lib/qt6/plugins/styles/"