[Qt-interest] qmake and Mac shared library bundle
Finley Lee
finleyl at alienskin.com
Thu Apr 30 17:51:11 CEST 2009
> > It looks like the Mac version of qmake will happily generate dylibs
> > or frameworks. However, I'm having trouble convincing it to make a
> > shared library bundle. Has anyone done this? How did you make it
> work?
>
> try this:
>
> TEMPLATE = lib
> CONFIG += ppc x86
> CONFIG += plugin plugin_bundle
> QMAKE_BUNDLE_EXTENSION = .bundle
> QMAKE_BUNDLE_LOCATION = Contents/MacOS
>
That worked very nicely. Thank you!
More information about the Qt-interest-old
mailing list