in reply to Perl-Qt 2 tutorials with errors?

What's your code look like?

Replies are listed 'Best First'.
(ichimunki) Re: Perl-Qt 2 tutorials with errors?
by ichimunki (Priest) on Jun 28, 2001 at 19:25 UTC
    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.