diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a529ff4..2c7d3ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,9 +59,12 @@ jobs: run: | sudo apt-get update sudo apt-get install -y qt6-base-dev + # Tray only needs Core/Gui/Widgets (qtbase). The umbrella `qt` keg is a + # meta-package (~100KB); frameworks live under qtbase, and dqt links with + # `-framework Qt*`, which requires `-F` (LIBRARY_PATH alone is not enough). - name: Install Qt (macOS) if: runner.os == 'macOS' - run: brew install qt + run: brew install qtbase - name: Install Qt (Windows) if: runner.os == 'Windows' shell: pwsh @@ -74,7 +77,9 @@ jobs: - name: Qt paths (macOS) if: runner.os == 'macOS' run: | - echo "PATH=$(brew --prefix qt)/bin:$PATH" >> "$GITHUB_ENV" - echo "LIBRARY_PATH=$(brew --prefix qt)/lib:${LIBRARY_PATH:-}" >> "$GITHUB_ENV" + QTBASE="$(brew --prefix qtbase)" + echo "PATH=${QTBASE}/bin:$PATH" >> "$GITHUB_ENV" + echo "LIBRARY_PATH=${QTBASE}/lib:${LIBRARY_PATH:-}" >> "$GITHUB_ENV" + echo "DFLAGS=-L-F${QTBASE}/lib" >> "$GITHUB_ENV" - name: Build tray run: dub build --config=tray