Skip to content

feat: add macOS build support#111

Open
nashsu wants to merge 4 commits intosanny32:release/1.xfrom
nashsu:feature/macos-support
Open

feat: add macOS build support#111
nashsu wants to merge 4 commits intosanny32:release/1.xfrom
nashsu:feature/macos-support

Conversation

@nashsu
Copy link
Copy Markdown

@nashsu nashsu commented Apr 1, 2026

Summary

  • Add macOS build support with .app bundle packaging
  • Add build script for macOS (Homebrew + CMake + Ninja)
  • Add macOS platform info in About dialog
  • Fix qhelpgenerator discovery for Homebrew Qt layout
  • Update README with macOS build instructions and supported OS list

Changes

  • src/CMakeLists.txt — add APPLE branch for bundle, icon, Info.plist, install rules; improve qhelpgenerator search paths
  • src/dialogs/dialogabout.cpp — add Q_OS_MAC block for platform info
  • src/omodsim.plist.in — new Info.plist template
  • src/res/omodsim.icns — new macOS icon (generated from existing PNGs)
  • docs/icons/logo_apple.svg — Apple logo for README
  • build-macos.sh — new macOS build script
  • README.md — add macOS building section and supported OS entry

Test plan

  • Built and tested on macOS (Apple Silicon, Qt 6.11.0, AppleClang 17)
  • Windows and Linux build paths are unchanged (no existing code modified in platform-specific branches)
  • Application launches successfully as .app bundle

Add macOS platform support with .app bundle packaging, build script,
and documentation. All changes are additive and do not affect existing
Windows or Linux build paths.
@sanny32
Copy link
Copy Markdown
Owner

sanny32 commented Apr 1, 2026

Hello @nashsu. I can't test application on Apple Silicon, so you must add github workflow to build app bundle. Use current workflows as example.

nashsu added 2 commits April 2, 2026 06:46
Add GitHub Actions workflow for building macOS DMG package
with Qt6 using aqtinstall and macdeployqt.
- Bump version from 1.12.0 to 1.13.0 for macOS platform support
- Add GitHub Actions workflow for building macOS DMG
- Update README version references
@nashsu
Copy link
Copy Markdown
Author

nashsu commented Apr 1, 2026

hi @sanny32, I just added github workflow and tested it on Apple Silicon.

@sanny32 sanny32 changed the base branch from main to release/1.x April 2, 2026 10:08
@sanny32 sanny32 self-requested a review April 2, 2026 10:10
Copy link
Copy Markdown
Owner

@sanny32 sanny32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please resolve confilicts

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