[Kde-bindings] kalyptus can now generate a SmokeKDE library

Richard Dale Richard_Dale at tipitina.demon.co.uk
Thu Sep 18 11:17:10 UTC 2003


On Thursday 18 September 2003 11:23, Germain Garand wrote:
> Le Mercredi 17 Septembre 2003 16:26, Richard Dale a écrit :
> > Indeed, if I run rbqtapi heroic amounts of stuff appears.. I think
> > getting rid of useless classes is quite important to get the lib size
> > down:
> >
> > 15512 -rwxrwxr-x    1 duke     15862346 Sep 17 12:36 libsmokekde.so.1.2.1
>
> ah yes, it strips down to 10 megs here, but still...
Ah - that's actually quite good as it's for both Qt and KDe - I hadn't 
realised it wasn't stripped.

> > Maybe you can check in the new dir kdebindings/smoke/kde for the build if
> > you know better than me? I couldn't quite work out what generated what
> > and when..
>
> Sure. I'll do that now then.
> The scheme is:
> configure.in.in => configure.in => calls qtguess.pl, then generate.pl at
> configure time
> qtguess.pl.in => qtguess.pl,  generates qtdefines
> (containing all defined symbols for the kalyptus RE)
> generate.pl.in => generate.pl (needs a valid qtdefines)
> Makefile.am => rules for the building/linking stage
That sounds fine. Put QWorkspace back in if you can find what the problem was. 
It might be better to remove the KDE class which caused it. I can't remember 
which one.
> Should we name it libsmokekde.so and install libsmokeqt.so symlinks, or
> just name it libsmokeqt.so?
I think they should be seperate, so that people who just want to use Qt can 
link against libsmokeqt.so. I'm going to have a different extension called 
'Korundum' which will link against libsmokekde.so, and have the extra KDE 
marshallers.

> Germain
> P.S: I got the Hello Word. Woot! woot! wooooot! 8)
Brilliant! I've checked in the changes to Qt.cpp/Qt.rb in QtRuby so they load 
the KDE classes into the KDE:: namespace if they're found. Just link against 
libsmokekde.so and the kde libs instead of libsmokeqt.so.

-- Richard


More information about the Kde-bindings mailing list