[Qt-creator] iOS: template plist not expanded

Robert Bielik Robert.Bielik at dirac.com
Mon Mar 27 09:15:44 CEST 2017


Ah. So the documentation at http://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-info-plist is wrong.

And @SHORT_VERSION@ for CFBundleVersion for example cannot get expanded, meaning that whenever I make a new version of the app I need to modify the template plist file.

Splendid.

/R

> -----Original Message-----
> From: Eike Ziller [mailto:Eike.Ziller at qt.io]
> Sent: den 27 mars 2017 09:02
> To: Robert Bielik <Robert.Bielik at dirac.com>
> Cc: qt-creator at qt-project.org
> Subject: Re: [Qt-creator] iOS: template plist not expanded
> 
> 
> > On Mar 27, 2017, at 8:30 AM, Robert Bielik <Robert.Bielik at dirac.com>
> wrote:
> >
> > Hi all,
> >
> > I have copied the Info.plist.app template from Qt for adding some usage
> descriptions with this in the .pro file:
> >
> > QMAKE_INFO_PLIST = ../MyProject/resources/ios/Info.plist.app
> >
> > However, when building, the @xxxx@ macros do not get expanded, so the
> resulting plist file in the app looks like:
> >
> > ...
> >   <key>CFBundleExecutable</key>
> >   <string>@EXECUTABLE@</string>
> > a.s.o...
> >
> > What am I doing wrong ?
> 
> This seems to work “as intended”:
> 
> https://bugreports.qt.io/browse/QTBUG-42916
> 
> Br, Eike
> 
> --
> Eike Ziller
> Principal Software Engineer
> 
> The Qt Company GmbH
> Rudower Chaussee 13
> D-12489 Berlin
> eike.ziller at qt.io
> http://qt.io
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Mika Harjuaho
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg,
> HRB 144331 B



More information about the Qt-creator mailing list