Commit Graph

10 Commits

Author SHA1 Message Date
Laurent Trinques 519f2245f6 macOS: fix arm64 bundle rejection (-10825) on macOS Sequoia
The Info.plist template shipped LSMinimumSystemVersion=12.3.0, but
the CMake build embedded the host SDK's deployment target (minos
26.0 on recent build machines) into the binary's LC_BUILD_VERSION.
Launch Services relies on the binary's minos, not the plist, so it
refused to launch the app on macOS < 26 even though it ran fine
when invoked directly.

- Set CMAKE_OSX_DEPLOYMENT_TARGET=14.0 explicitly in the cmake
  configure step, matching the real minimum imposed by the
  Homebrew Qt6 toolchain used for this build.
- Sync misc/Info.plist's LSMinimumSystemVersion to 14.0.0, and have
  MacQetDeploy_arm64_cmake.sh set it via PlistBuddy at bundle
  install time so it can't drift from the build target again.

Reported-by: guillaume.ruivo (forum)
2026-09-26 07:51:31 +02:00
Laurent Trinques 8295083f05 misc: align macOS bundle identifier with app's settings domain
CFBundleIdentifier was "org.qelectrotech", but Qt derives
"org.qelectrotech.QElectroTech" from setOrganizationDomain()
and setApplicationName() for the app's own preferences file
(~/Library/Preferences/org.qelectrotech.QElectroTech.plist).

Align the two so the shipped bundle and the CMake target (see
CMakeLists.txt MACOSX_BUNDLE_GUI_IDENTIFIER) use the same
identifier regardless of build path.

Note: this changes the bundle's LaunchServices identity, so
users may need to redo "Open With QElectroTech" file
associations once after updating.
2026-09-09 15:54:28 +02:00
Laurent Trinques a32aef2246 Fix macOS app icon showing as generic placeholder
CFBundleIconFile in misc/Info.plist was set to qelectrotech.icns, including the file extension.
Per Apple convention this key should hold the icon name without the extension — macOS appends .icns itself.
On recent macOS versions this mismatch causes the Finder to fall back to the generic placeholder icon instead of the actual app icon.

Fix: CFBundleIconFile → qelectrotech (no extension), matching the existing CFBundleTypeIconFile entries (elmt, titleblock, qet) which were already correct.
2026-08-30 11:55:25 +02:00
Laurent Trinques 33445de6c0 Try to add embed fonts for macOS 2025-05-31 12:31:03 +02:00
Laurent Trinques 0780f6627f Update Info.plist 2023-10-01 06:45:31 +02:00
Laurent Trinques f161fecb02 Update Info.plist 2023-09-30 15:23:46 +02:00
Laurent Trinques f360973eeb Macos add key LSMinimumSystemVersion 2020-05-15 13:34:41 +02:00
scorpio810 233dd05227 Delete UTExportedTypeDeclarations in plist file : not useful for bundle
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5466 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 00:19:56 +00:00
scorpio810 fdaff6ccc5 Update macOS Info.plist
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5192 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-23 12:59:44 +00:00
scorpio810 7394abfbd5 Update macOS packaging
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4796 bfdf4180-ca20-0410-9c96-a3a8aa849046
2016-12-02 11:58:38 +00:00