[Interest] [Qt-creator] mac: executable binary inside package
Lincoln Ramsay
lincoln.ramsay at nokia.com
Thu Mar 29 01:57:31 CEST 2012
On 03/29/2012 09:47 AM, ext Lincoln Ramsay wrote:
> On 03/29/2012 02:48 AM, ext David Kim wrote:
>> 1.
>> When the application was deployed with macdeployqt,
>> the dmg file also contains .Trashes. Is
>> there an option to exclude it?
>
> macdeployqt doesn't make a .dmg does it? It didn't the last time I checked.
Oh right... it has a -dmg argument.
That simply calls hdiutil create [dmgname] -srcfolder [app bundle path]
-format UDZO -volname [app base path].
So since you need to put more than your app in the .dmg, use macdeployqt
to prepare the .app bundle but then setup your image folder explicitly
(eg. adding the /Applications symlink) and call hdiutil yourself.
--
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/
More information about the Interest
mailing list