From 2e3e55c6e80e3afb5a99c5227cb81e4efb4b563f Mon Sep 17 00:00:00 2001 From: Hubery Hsu Date: Sat, 20 Dec 2025 15:13:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90#13=E3=80=91Install=20qt-5=20in=20work?= =?UTF-8?q?flow=20#13?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/c-cpp.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 437e03d6..c2e11a33 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -25,9 +25,20 @@ jobs: git submodule update --init --recursive --depth 1 git submodule status git submodule foreach --recursive 'echo "== $name =="; git remote -v' - + + + - name: Install Qt5 (Ubuntu) + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ + qtbase5-dev qtbase5-dev-tools qt5-qmake \ + qttools5-dev qttools5-dev-tools \ + libqt5svg5-dev + + + - name: Configure with CMake (headless) - run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSD_BUILD_DESIGNER=OFF -DSD_BUILD_DEMOS=OFF + run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DSD_BUILD_DESIGNER=OFF -DSD_BUILD_DEMOS=OFF -DQt5_DIR=/usr/lib/x86_64-linux-gnu/cmake/Qt5 - name: Build run: cmake --build build --config Release --parallel