Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.1, 5.15.9
-
OS X, iOS
-
-
bbad6440ae (qt/qtbase/dev) bbad6440ae (qt/tqtc-qtbase/dev) afdb88a263 (qt/tqtc-qtbase/6.2), aaaa1e251 (6.4)
Description
When a user modifies a given Info.plist using a GUI editor, he might save it in binary format, which is perfectly valid in the context of OS X plist format.
qmake however needs Info.plist in text format (XML) in order to perform the sed command to replace the variables @EXECUTABLE@, @ICON@, @TYPEINFO@, @LIBRARY@, and @SHORT_VERSION@.
sed command from my Makefile:
@sed -e "s,@SHORT_VERSION@,1.0,g" -e "s,@FULL_VERSION@,1.0.0,g" -e "s,@TYPEINFO@,????,g" -e "s,@BUNDLEIDENTIFIER@,com.example.product,g" -e "s,@ICON@,myproduct.icns,g" -e "s,@EXECUTABLE@,MyProduct,g" -e "s,@TYPEINFO@,????,g" ../../project/subproject/Info.plist >MyProject.app/Contents/Info.plist
This confuses users.
I'd love to see a check in the Makefile, that ensures that the file is
- in text format
- valid XML
Attachments
For Gerrit Dashboard: QTBUG-45357 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
438631,3 | Ensure proper format of Info.plist | dev | qt/qtbase | Status: MERGED | +2 | 0 |
439112,4 | Ensure proper format of Info.plist | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
439115,3 | Ensure proper format of Info.plist | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |