Thanks Mike, Unfortunately that doesn't seem to work. I still get the non-expanded @xxx@ entries ☹
/R > -----Original Message----- > From: mike.k...@kdab.com [mailto:mike.k...@kdab.com] > Sent: den 27 mars 2017 09:41 > To: Robert Bielik <robert.bie...@dirac.com> > Cc: Eike Ziller <eike.zil...@qt.io>; qt-creator@qt-project.org > Subject: Re: [Qt-creator] iOS: template plist not expanded > > Hi > > guess you can still do your own substitution step, something like: > > plist.input = Info.plist.in > plist.output = $$OUT_PWD/Info.plist > QMAKE_SUBSTITUTES += plist > QMAKE_INFO_PLIST = $$OUT_PWD/Info.plist > > Mike > > > On 27 Mar 2017, at 08:15, Robert Bielik <robert.bie...@dirac.com> wrote: > > > > 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 > > -- > Mike Krus | mike.k...@kdab.com | Senior Software Engineer KDAB (UK) > Ltd., a KDAB Group company > Tel: UK Office +44 1625 809908 Mobile +44 7833 491941 > KDAB - The Qt Experts _______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org http://lists.qt-project.org/mailman/listinfo/qt-creator