[Kde-perl] PerlQt with Perl 5.10

Zaher Salman zaher.salman at psi.ch
Thu Aug 13 12:10:04 CEST 2009


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

kde-perl-request at kde.org wrote:

> Message: 1
> Date: Wed, 12 Aug 2009 13:15:37 +0000 (GMT)
> From: Zaher Salman <zaher_salman at yahoo.co.uk>
> Subject: [Kde-perl] (no subject)
> To: kde-perl at kde.org
> Message-ID: <972249.35097.qm at web24609.mail.ird.yahoo.com>
> 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 <jonathan.i.yu at gmail.com>
> Subject: Re: [Kde-perl] (no subject)
> To: kde-perl at kde.org
> Message-ID:
> 	<d1b732a70908120645y940137aof94feeb833707d37 at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> Hi:
> 
> On Wed, Aug 12, 2009 at 9:15 AM, Zaher Salman<zaher_salman at yahoo.co.uk> 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
>> Kde-perl at kde.org
>> https://mail.kde.org/mailman/listinfo/kde-perl
>>
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 12 Aug 2009 07:42:41 -0700
> From: Gary Greene <greeneg at tolharadys.net>
> Subject: Re: [Kde-perl] (no subject)
> To: kde-perl at kde.org
> Message-ID: <200908120742.49139.greeneg at tolharadys.net>
> 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<zaher_salman at yahoo.co.uk> 
> 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
>>> Kde-perl at kde.org
>>> https://mail.kde.org/mailman/listinfo/kde-perl
>> _______________________________________________
>> Kde-perl mailing list
>> Kde-perl at kde.org
>> 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).
> 


More information about the Kde-perl mailing list