[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent


Perl bindings
by KAP on Saturday 16/Mar/2002, @17:50
It's great that there are news on the language binding front. But, when will we ever see new Perl bindings for Qt/KDE? There are lots of skilled Perl programmers out there, and I'm sure they could benefit the KDE community to no end if there were bindings available.

And, no the Qt bindings on CPAN doesn't seem to work :-( Could this be a conspiracy to force Perl people to switch to Python!!!! :-)
  Related Links
 ·   Articles on Developer
 ·   Also by KAP
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: Perl bindings
by Richard Dale on Sunday 17/Mar/2002, @03:17
"But, when will we ever see new Perl bindings for Qt/KDE?"

Yes, Germain Gerand, TJ Mather and myself are working on Perl bindings for Qt 3/KDE 3, and they should be ready for KDE 3.1.

The bindings are generated from 'Perl Interface Generator' .pig files that used to be prepared by hand. We've added a .pig file generation option to the kalyptus bindings generator to autogenerate them. Germain has regenerated the bindings for Qt 2.2.x and KDE 2.2.2, and pretty well got that working in TJ's cvs.

But the big problem with Qt 3 is that the bindings assume the moc works the way it did for Qt 2. The was a type in Qt 1.x/2.x called 'QMember' which was a pointer to a function for the target slot to be called. In Qt 3 the moc has been changed so it uses an integer offset into the slot table as 'QMember' to invoke a slot. So the slot/signal handling needs to be redone (and the code is quite tricky to follow).

-- Richard
[ Reply To This | View ]
  • Re: Perl bindings
    by Ricardo Pacheco on Tuesday 16/Jul/2002, @14:59
    Is there a link where you post the information regarding the progress of your development?

    Thanks.
    [ Reply To This | View ]
Re: Perl bindings
by Danny on Sunday 17/Mar/2002, @06:15
"Could this be a conspiracy to force Perl people to switch to Python!!!! :-)"

THAT would be a good conspiracy theory for a change *ducks away from flamethrowers and runs home* :-)
[ Reply To This | View ]
  • Re: Perl bindings
    by Carbon on Monday 18/Mar/2002, @10:23
    Don't make me bring out my Swiss Army Chainsaw! :-)
    [ Reply To This | View ]
Re: Perl bindings
by Germain on Wednesday 20/Mar/2002, @01:20
Yes, there is still plenty of work, but things are moving...

Here is a little screenshot with only PerlQt apps (running Qt-2.3.1).
Some more skilled Perl/C/XS programmers would be quite welcome though...
[ Reply To This | View ]
  • Re: Perl bindings
    by Germain on Wednesday 20/Mar/2002, @01:25
    uh oh... seems the attachment thingy didn't work...

    http://www.phoenix-library.org/germain/shots/PerlQt-2.3.1.png
    [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "Never miss an opportunity to throw away code." -- Guillaume Laurent
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]