Hi,
In our iOS builds we use our own .plist files. They are included in the
.pro file by
QMAKE_INFO_PLIST = $$_PRO_FILE_PWD_/Info.plist
The .plist file looks like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>Cadences</string>
<key>CFBundleDisplayName~ipad</key>
<string>Cadences</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.companyname.ios.a-cad</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>20150312</string>
... lots and lots of other crap
</dict>
</plist>
Hope that helps!
Tony
On 31/05/2023 10:29 pm, Alexander Dyagilev wrote:
Hello,
Is there a way to set this value from within qmake using some of its
built-in variables?
By default, qmake generates Info.plist with the following content:
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest