use Qt; import Qt::app; $hello = Qt::PushButton->new('Hello'); $hello->resize(100, 30); $app->setMainWidget($hello); $hello->show(); exit $app->exec(); #### use Qt; use Qt::Object; use Qt::Application; use Qt::PushButton; use Qt::Font; import Qt::app; $hello = Qt::PushButton->new('Hello'); $hello->resize(100, 30); $app->setMainWidget($hello); $hello->show(); exit $app->exec();