From 65e1581db1f639d6f134068e649f5ea049c132d1 Mon Sep 17 00:00:00 2001 From: AcTh2 <68511655+acth2@users.noreply.github.com> Date: Thu, 29 Aug 2024 22:13:20 +0200 Subject: [PATCH] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 35e0b2f7..65ef4647 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -36,6 +36,19 @@ jobs: run: | python -m yaqti install --version 5.15.2 --os linux --platform desktop --set-envs --install-deps + - name: Find and set Qt path + run: | + # Find where qmake is installed + QT_DIR=$(find ~/ -type d -name "qt" -print -quit) + if [ -z "$QT_DIR" ]; then + echo "Qt installation directory not found." + exit 1 + fi + + echo "Qt installation directory: $QT_DIR" + export PATH=$QT_DIR/bin:$PATH + echo "PATH updated." + - name: Verify Qt installation run: | qmake --version