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.zil...@qt.io]
> Sent: den 27 mars 2017 09:02
> To: Robert Bielik <robert.bie...@dirac.com>
> Cc: qt-creator@qt-project.org
> Subject: Re: [Qt-creator] iOS: template plist not expanded
> 
> 
> > On Mar 27, 2017, at 8:30 AM, Robert Bielik <robert.bie...@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.zil...@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

_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to