Hi,
Am 22.11.2012 um 11:42 schrieb Rutledge Shawn:
> I don't understand either; I thought that frameworks have the advantage of
> being shared between applications. If one application includes Qt 5.0.0 in
> the .app bundle and another includes 5.0.1, and you run both of them, does it
> mean that you will have duplicates of all the libraries that those apps need,
> in memory? It's bad enough that they will be duplicated on disk, but I know
> it's becoming the norm not to worry about that, in exchange for not having
> the problems that Windows often does with incompatible DLL versions. But we
> guarantee binary compatibility, so shouldn't it be OK for an application
> installer to upgrade the system Qt framework at the same time, the way an
> application's Windows installer would typically do? (I'm referring to
> ordinary users rather than developers)
Usually, there are NO application installers on the Mac.
The regular way is to have application bundles (directories with a certain
structure; the name ends on .app and is treated like a single file in the
Finder) that contain everything that is needed to run the program, including
all libraries and/or frameworks that are not pre-installed on the system. You
just put that application binary into a ZIP or (preferrably) a disk image (DMG)
and the user just drags and drops the application to a place on the filesystem.
Using frameworks inside an application bundle is possible, but a bit overkill,
as one does not need to ship the header files in a release version (it bloats
the size of the application bundle too).
Cheers
Volker
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development