[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] new generator: mac os x building
From:       Arno Rehn <arno () arnorehn ! de>
Date:       2009-10-13 11:48:50
Message-ID: 200910131348.50174.arno () arnorehn ! de
[Download RAW message or body]

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@arnorehn.de
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic