Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5, 6.6
-
None
-
-
1eb4d17cb (dev), 492aafd8a (6.5)
Description
With qmake there's no need to set an explicit bundle identifier, regardless of which generator is used (makefile, Xcode). If one is not set, we generate a placeholder based on the QMAKE_TARGET_BUNDLE_PREFIX (which we read from the Xcode settings if not set), and the bundle name (QMAKE_BUNDLE).
With CMake we only do this for Xcode projects (see _qt_internal_set_xcode_bundle_identifier), resulting in an empty identifier in ninja-geneated projects.
This has subtle effects on e.g. the system permission machinery, since it fails to store permissions, and might have other subtle effects that are hard to diagnose.
Attachments
For Gerrit Dashboard: QTBUG-110889 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
474561,17 | Generate and set a CFBundleIdentifier when none were provided on macOS | dev | qt/qtbase | Status: MERGED | +2 | 0 |
481538,2 | Generate and set a CFBundleIdentifier when none were provided on macOS | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |