[Kde-bindings] Re: Notes on building on Mac OS X

Adam Higuera ahig321 at gmail.com
Fri Feb 18 14:31:12 UTC 2011


I managed to build the Qt bindings on Mac OS X with the frameworks from
Nokia.  A record of my misadventures should be in the list archives
somewhere.  I wound up patching smokegen to get it to find the framework
headers, if I recall correctly.

-Adam

On Fri, Feb 18, 2011 at 9:05 AM, Arno Rehn <arno at arnorehn.de> wrote:

> On Friday 18 February 2011 11:02:34 Ben Skelton wrote:
> > Hi,
> >
> > I've been having some trouble in building smokeqt on the mac.
> >
> > One thing that I have noticed is that if Qt is installed as a Framework
> > instead of a traditional unix /usr/include, /usr/lib file structure then
> > smokegen will not parse the headers correctly. This is perhaps because of
> > frameworks use two include locations. This means you cannot use the Nokia
> > built SDK. No big deal - I've been successful (to a point) with both a
> mac
> > ports qt-devel installation and building qt from sources.
> >
> > Unfortunately, the build still fails when linking libsmokeqtgui.dylib.
> > Interestingly it can't find symbols that you might expect should be there
> > - macMenu for example.
> >
> > Any thoughts or guidance on what I can try to resolve the below
> > appreciated.
> I could add some workarounds for OS X builds that skip
> QAccessibleBridgePlugin
> and QMenu::macMenu. That doesn't seem like an ideal solution though.
>
> Can you do the OS X equivalent of
>
> $ objdump -Tt /usr/lib/libQtGui.so | c++filt | grep QAccessibleBridgePlugin
> ?
>
> If this doesn't print anything, then OS X Qt builds simply don't include
> this
> class, for whatever reason.
>
> --
> Arno Rehn
> arno at arnorehn.de
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20110218/5105e6fd/attachment.html>


More information about the Kde-bindings mailing list