Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acth2 authored Aug 29, 2024
1 parent 6794018 commit 65e1581
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65e1581

Please sign in to comment.