[Kde-bindings] new generator: mac os x building
Arno Rehn
arno at arnorehn.de
Tue Oct 13 11:48:50 UTC 2009
On Tuesday 13 October 2009 12:00:50 Petr Vanek wrote:
> hi again,
>
> I tried to build smoke with "generator" on mac. I had to do some
> changes in the cmake stuff to get it working.
>
> content:
> 1) generator executable split
> 2) qt functions filter for mac
>
> 1) mac cannot link executables as libraries as it's possible (?) on
> linux. So I had to change it a bit. The generator is split into
> generator_lib shared library (all src except main.cpp) and generator
> executable (main.cpp) linked with generator_lib.
> Linking of "plugins" is changed too.
> It's tested on Linux (suse), and macosx leopard.
Hm, I don't see a reason why it shouldn't work on os x. Too bad I don't have a
mac to test things. I guess I'll simply split the generator executable into
two parts if it causes that much trouble.
> 2) there should be new "reject" filter in Qt's smokeconfig.xml to
> prevent linking failures.
What would be the purpose of a "reject" filter that the current "exclude"
section doesn't fulfill?
> Index: smoke/qt/smokeconfig.xml
> ===================================================================
> --- smoke/qt/smokeconfig.xml (revision 2786)
> +++ smoke/qt/smokeconfig.xml (working copy)
> @@ -25,6 +25,8 @@
> <signature>.*qFindString.*</signature>
> <!-- windows internal helper functions -->
> <signature>.*qFrom.*Endian_helper.*</signature>
> + <!-- mac os x special functions -->
> + <signature>.*qt_mac_set_cursor.*</signature>
> </exclude>
> <functions>
> <!-- include functions starting with 'q' -->
Thanks, I'll apply that.
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-bindings
mailing list