Re: [Interest] qmake: set CFBundleDisplayName?
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: "http://www.apple.com/DTDs/PropertyList-1.0.dtd;> CFBundleDevelopmentRegion en CFBundleDisplayName Cadences CFBundleDisplayName~ipad Cadences CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier com.companyname.ios.a-cad CFBundleInfoDictionaryVersion 6.0 CFBundleName ${PRODUCT_NAME} CFBundlePackageType APPL CFBundleShortVersionString 0.1 CFBundleSignature CFBundleVersion 20150312 ... lots and lots of other crap 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: CFBundleDisplayName ${PRODUCT_NAME} ___ 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
Re: [Interest] qmake: set CFBundleDisplayName?
There is a way using QMAKE_SUBSTITUTES (https://forum.qt.io/post/546870) But I would prefer a more simple way. On 5/31/2023 3: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: CFBundleDisplayName ${PRODUCT_NAME} ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] qmake: set CFBundleDisplayName?
Unfortunately, this does not work... On 5/31/2023 3:46 PM, Alexandru Croitor wrote: Hi, From https://doc.qt.io/qt-6/ios.html#customizing-xcode-project-settings Something like this should work? product_name.name = PRODUCT_NAME product_name.value = QMAKE_MAC_XCODE_SETTINGS += product_name On 31. May 2023, at 14:29, 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: CFBundleDisplayName ${PRODUCT_NAME} ___ 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
Re: [Interest] qmake: set CFBundleDisplayName?
Hi, >From https://doc.qt.io/qt-6/ios.html#customizing-xcode-project-settings Something like this should work? product_name.name = PRODUCT_NAME product_name.value = QMAKE_MAC_XCODE_SETTINGS += product_name > On 31. May 2023, at 14:29, 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: > > CFBundleDisplayName > ${PRODUCT_NAME} > > > ___ > 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