The first tutorial (this is included in the module tarball) is a simple hello world (and this I can't get to run):
#!/usr/bin/perl -w
use Qt 2.0;
import Qt::app;
$hello = Qt::PushButton->new('Hello World!', undef);
$hello->resize(100, 30);
$app->setMainWidget($hello);
$hello->show();
exit $app->exec();
I suspect this is more of a technical difficulties issue, FYI: the machine is a 586 running Debian main, Perl upgraded to 5.6.1 and the Perl-Qt is the latest tarball from CPAN. |