A
Amir Kadic
First off, I apologize if this isn't the best group for my
question...
I can't seem to make a proper Qt::Thread subclass.
Here is my attempt (which ends with:
Can't locate package Qt::Thread for @WannaBeAThread::ISA at
/usr/local/lib/perl/5.6.1/Qt/isa.pm line 45.
Segmentation fault
)
------------------------------------
package WannaBeAThread;
use strict;
use Qt;
use Qt::isa qw(Qt::Thread);
sub NEW {
shift->SUPER::NEW();
}
sub run {
1 for (0..4);
}
1;
package main;
use strict;
use WannaBeAThread;
my $ttt= WannaBeAThread;
$ttt->start();
question...
I can't seem to make a proper Qt::Thread subclass.
Here is my attempt (which ends with:
Can't locate package Qt::Thread for @WannaBeAThread::ISA at
/usr/local/lib/perl/5.6.1/Qt/isa.pm line 45.
Segmentation fault
)
------------------------------------
package WannaBeAThread;
use strict;
use Qt;
use Qt::isa qw(Qt::Thread);
sub NEW {
shift->SUPER::NEW();
}
sub run {
1 for (0..4);
}
1;
package main;
use strict;
use WannaBeAThread;
my $ttt= WannaBeAThread;
$ttt->start();