[Qt-interest] Application name with a space in Xcode?
John Weeks
john at wavemetrics.com
Tue Jan 12 02:25:35 CET 2010
>We have ended up with a single word TARGET, with no spaces, and then
>rename the app bundle when we actually deploy, which works fine.
>However, as part of this, we do use custom Info.plist files, and have
>different ones for debug and release builds. With regards to this
>feature, the important key is CFBundleName;
>
>Debug:
> <key>CFBundleName</key>
> <string>@EXECUTABLE@</string>
>
>Release:
> <key>CFBundleName</key>
> <string>@EXECUTABLE@ 4</string>
Thank you, Peter. When you're just getting going it can be hard to tell if
you're missing something obvious!
I've tried a number of variations on this theme. I set the target to
"IgorPro" and I can get a clean build of IgorPro.app. I see that in our
presently shipping project the our CFBundleName is Igor Pro. So I changed
the info.plist I find in the Qt project folder to have Igor Pro. That
results in a broken application bundle because the info.plist inside the
bundle has Igor Pro, but the executable inside the bundle is still IgorPro.
Naturally, I can set things up in the Xcode project to do what I want. But
won't that break as soon as I need to run qmake again? Won't that happen if
I add ui files to the project?
Regards,
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
email support at WaveMetrics.com
More information about the Qt-interest-old
mailing list