Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.2, 6.4.3, 6.5.0
-
None
-
-
b2e586cf1 (dev), 13c1005c1 (6.5)
Description
Steps
```qmake
QMAKE_TARGET_BUNDLE_PREFIX = com.yoyodyne
QMAKE_BUNDLE = xyzapp
```
Using default mac info.plist template
(eg Qt/6.4.2/macos/mkspecs/macx-clang/Info.plist.app)
In this template, the CFBundleIdentifier value placeholder is ${PRODUCT_BUNDLE_IDENTIFIER}
Expected
According to qmake variable doc, PRODUCT_BUNDLE_IDENTIFIER should become
"com.yoyodyne" + "." + "xyzapp" => com.yoyodyne.xyzapp
Actual
The result info.plist has
```
<key>CFBundleIdentifier</key>
<string>com.yoyodyne.MacBundleId</string>
```
where `MacBundleId` is the qmake TARGET
Attachments
For Gerrit Dashboard: QTBUG-112667 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
471153,5 | qmake: Clarify documentation on how to modify QMAKE_BUNDLE | dev | qt/qtbase | Status: MERGED | +2 | 0 |
471215,2 | qmake: Clarify documentation on how to modify QMAKE_BUNDLE | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |