PerlQt with Perl 5.10
Zaher Salman <[email protected]> Thu, 13 Aug 2009 12:10:04 +0200
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the quick replies. I found this post: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481642 which gives a workaround for this problem. Simply comment the line use Qt::debug(); in Qt.pm (either before or after installation) and everything works. I am not sure what the consequences are but for now it seems to work. Cheers Zaher [email protected] wrote: > Message: 1 > Date: Wed, 12 Aug 2009 13:15:37 +0000 (GMT) > From: Zaher Salman <[email protected]> > Subject: [Kde-perl] (no subject) > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > Hi, > > I am trying to compile perl-qt with perl 5.10. Everything goes well including the install, but then when I generate an application (using puic or from the examples) I get the following error > > --- No method to call for : > QApplication::new('Qt::Applic...', ARRAY(0x806a4a8)) > at /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Qt.pm line 469. > > Any ideas why? > > By the way, is perl-qt still being actively developed? > > thanks > Zaher > > > ------------------------------ > > Message: 2 > Date: Wed, 12 Aug 2009 09:45:00 -0400 > From: Jonathan Yu <[email protected]> > Subject: Re: [Kde-perl] (no subject) > To: [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > Hi: > > On Wed, Aug 12, 2009 at 9:15 AM, Zaher Salman<[email protected]> wrote: >> Hi, >> >> I am trying to compile perl-qt with perl 5.10. Everything goes well including the install, but then when I generate an application (using puic or from the examples) I get the following error >> >> --- No method to call for : >> ? ? ? ?QApplication::new('Qt::Applic...', ARRAY(0x806a4a8)) >> at /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Qt.pm line 469. >> >> Any ideas why? > Perhaps you should be using: QApplication(...) -- ie, without using > ::new like that. Though without knowing what version of the Qt > bindings you're using, it's hard to tell if that's the correct syntax. > Still, based on the PerlQt3 bindings, the constructors look like: > > Qt::Application(...) > or > Qt::Application->new(...) >> By the way, is perl-qt still being actively developed? > It depends on which version of perlqt you're using. There are many, > and many of them are abandoned. > > The most promising one and most actively maintained one right now is > on Google Code: http://code.google.com/p/perlqt4/ and is a candidate > for inclusion in the kdebindings package. >> thanks >> Zaher >> >> >> >> >> >> _______________________________________________ >> Kde-perl mailing list >> [email protected] >> https://mail.kde.org/mailman/listinfo/kde-perl >> > > > ------------------------------ > > Message: 3 > Date: Wed, 12 Aug 2009 07:42:41 -0700 > From: Gary Greene <[email protected]> > Subject: Re: [Kde-perl] (no subject) > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > On Wednesday 12 August 2009 06:45:00 am Jonathan Yu wrote: >> Hi: >> >> On Wed, Aug 12, 2009 at 9:15 AM, Zaher Salman<[email protected]> > wrote: >>> Hi, >>> >>> I am trying to compile perl-qt with perl 5.10. Everything goes well >>> including the install, but then when I generate an application (using >>> puic or from the examples) I get the following error >>> >>> --- No method to call for : >>> ?? ?? ?? ??QApplication::new('Qt::Applic...', ARRAY(0x806a4a8)) >>> at /usr/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Qt.pm line >>> 469. >>> >>> Any ideas why? >> Perhaps you should be using: QApplication(...) -- ie, without using >> >> ::new like that. Though without knowing what version of the Qt >> >> bindings you're using, it's hard to tell if that's the correct syntax. >> Still, based on the PerlQt3 bindings, the constructors look like: >> >> Qt::Application(...) >> or >> Qt::Application->new(...) >> >>> By the way, is perl-qt still being actively developed? >> It depends on which version of perlqt you're using. There are many, >> and many of them are abandoned. >> >> The most promising one and most actively maintained one right now is >> on Google Code: http://code.google.com/p/perlqt4/ and is a candidate >> for inclusion in the kdebindings package. >> >>> thanks >>> Zaher >>> >>> >>> >>> >>> >>> _______________________________________________ >>> Kde-perl mailing list >>> [email protected] >>> https://mail.kde.org/mailman/listinfo/kde-perl >> _______________________________________________ >> Kde-perl mailing list >> [email protected] >> https://mail.kde.org/mailman/listinfo/kde-perl > > If this is in regards to the 3.009b2 release of the bindings, they are no > longer actively maintained. At this point the 3.009b2 bindings have NOT been > vetted for compile problems with 5.10, and likely won't be as PerlQt4 is the > preferred direction for the project at this point (being that Qt3 is EOL). >