PerlQt with Perl 5.10

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown PerlQt with Perl 5.10

by Zaher Salman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... wrote:

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