[Kde-perl] Can't debug PQT app ...
Steve Sloan
kde-perl@mail.kde.org
Tue, 17 Dec 2002 23:13:08 -0800 (PST)
I'm having a problem debugging apps under the Perl debugger. Take
the simplest-case PerlQt app:
use Qt; my $App = Qt::Application( \@ARGV );
Originally, the debugger would hang on QApplication instantiation. But that
was a few minor versions back. With the latest CVS version, I get:
main::(foo.pl:1): use Qt; my $App = Qt::Application( \@ARGV );
Invalid Qt::Application object. Couldn't set Qt::app()
Qt::Application::NEW('Qt::Application','ARRAY(0x805fda0)') called at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Qt.pm line 8
Qt::base::new('Qt::Application','ARRAY(0x805fda0)') called at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Qt.pm line 90
Qt::_internal::__ANON__[/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Qt.pm:91]('ARRAY(0x805fda0)') called at foo.pl line 1
When the app is run directly, I get
Mutex destroy failure: Device or resource busy
Although this sounds like a Qt warning, and a seperate issue.
Any ideas? Is this a bug, or am I doing something wrong?
==============================================================================
Steve Sloan Hacker / Drummer / Minor Deity
------------------------------------------------------------------------------
A well-adjusted person is one who makes the same mistake twice without
getting nervous.
==============================================================================