[Kde-perl] perl-qt and other modules

Germain Garand germain at ebooksfrance.org
Thu Aug 28 01:10:07 CEST 2003


Le Mardi 26 Août 2003 21:02, Travis W. Stevenson a écrit :
> I'm trying to figure how to get other modules(LDAP,MYSQL) to be used
> with PerlQt. I use QT Designer to develop the screens, then I want to
> put in code to connect to an LDAP Server.  This is becoming difficult,
> how do I extend PerlQt to include other capabilites like LDAP and MySQL?

Hi,
As for MySQL, you may want to try Qt's builtin driver... If you want a code 
example, just create a form with a Database widget, then generate a program 
with puic -x and have a look at it, it should be pretty straight forward.

For Perl modules, you have to use them in an Object Oriented way to avoid 
blocking, or you can control a separated perl process through Qt::Process, or 
a fork...

Have you got more specific issues?



More information about the Kde-perl mailing list