Skip to content

fix(macOS): update build script and ci with explicit Qt6 paths - #5502

Merged
ReenigneArcher merged 1 commit into
LizardByte:masterfrom
eduardomozart:fix/macos_build_script
Aug 18, 2026
Merged

fix(macOS): update build script and ci with explicit Qt6 paths#5502
ReenigneArcher merged 1 commit into
LizardByte:masterfrom
eduardomozart:fix/macos_build_script

Conversation

@eduardomozart

Copy link
Copy Markdown
Contributor

Description

Added explicit CMake hint paths for Qt6_DIR and Qt6Svg_DIR in the macOS build script (scripts/macos_build.sh). This explicitly sets the directories using brew --prefix qtbase and brew --prefix qtsvg to ensure that the build system can reliably locate the Qt6 libraries when installed via Homebrew.

Screenshot

Issues Fixed or Closed

Fixes the following CMake configuration failure on macOS where the Qt6 libraries installed via Homebrew were not being discovered automatically:

CMake Warning at cmake/macros/common.cmake:27 (_find_package):
  By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt6", but
  CMake did not find one.
  Could not find a package configuration file provided by "Qt6" with any of
  the following names:
    Qt6.cps
    qt6.cps
    Qt6Config.cmake
    qt6-config.cmake
  Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
  to a directory containing one of the above files.  If "Qt6" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  third-party/tray/CMakeLists.txt:76 (find_package)
CMake Error at cmake/macros/common.cmake:27 (_find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

See our AI usage policy.

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

@eduardomozart eduardomozart changed the title fix: Update macos_build.sh with explicit Qt6 paths fix(macos): Update macos_build.sh with explicit Qt6 paths Aug 14, 2026
@ReenigneArcher
ReenigneArcher force-pushed the fix/macos_build_script branch from e13c3f2 to dbb6731 Compare August 18, 2026 01:56
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@ReenigneArcher ReenigneArcher changed the title fix(macos): Update macos_build.sh with explicit Qt6 paths fix(macOS): update build script and ci with explicit Qt6 paths Aug 18, 2026
@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.40%. Comparing base (b983c20) to head (dbb6731).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5502      +/-   ##
==========================================
+ Coverage   32.32%   32.40%   +0.07%     
==========================================
  Files         104      104              
  Lines       24926    24931       +5     
  Branches    11066    11073       +7     
==========================================
+ Hits         8058     8079      +21     
- Misses      13717    15344    +1627     
+ Partials     3151     1508    -1643     
Flag Coverage Δ
Archlinux 0.00% <ø> (ø)
FreeBSD-amd64 18.14% <ø> (ø)
Homebrew-macos-14 28.00% <ø> (ø)
Homebrew-macos-15 28.70% <ø> (ø)
Homebrew-macos-26 28.81% <ø> (-0.02%) ⬇️
Homebrew-ubuntu-24.04 18.83% <ø> (ø)
Linux-AppImage 18.25% <ø> (?)
Windows-AMD64 23.62% <ø> (ø)
Windows-ARM64 20.33% <ø> (-0.02%) ⬇️
macOS-arm64 25.22% <ø> (ø)
macOS-x86_64 25.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 46 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b983c20...dbb6731. Read the comment docs.

@github-actions

Copy link
Copy Markdown
Last Updated 2026-08-18 03:16:01 UTC
Source Run CI Run #5006
Commit dbb67319603f5ceb86199403d2c53e76b99c9a43

Screenshot Comparison

PR #5502 screenshots vs screenshots baseline.

Matrix: AppImage

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: Windows-AMD64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: Windows-ARM64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: macOS-arm64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

Matrix: macOS-x86_64

Image Baseline PR
sunshine_tray_initial.png
sunshine_tray_menu.png
sunshine_tray_pairing_request.png
sunshine_tray_paused.png
sunshine_tray_stopped.png
sunshine_tray_streaming.png
sunshine_tray_tooltip.png

@ReenigneArcher
ReenigneArcher merged commit 790d553 into LizardByte:master Aug 18, 2026
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants