in reply to Re^2: Qt5 and perl
in thread Qt5 and perl

now, it seems to me that the project: https://github.com/chrisburel/perlqt give this perl porting another puff of smoke...but it is not the glossed item yet. one can code...
use PerlQt5::QtCore; use PerlQt5::QtGui; use PerlQt5::QtWidgets; package MyApp; use base qw(PerlQt5::QtCore::QCoreApplication); package MyPushButton; use base qw(PerlQt5::QtWidgets::QPushButton); package main; my $app = MyApp->new(scalar @ARGV, \@ARGV); $app = PerlQt5::QtWidgets::QApplication->new( 'Hello, World!', undef); # but crash here with error ... QWidget: Cannot create a QWidget witho +ut QApplication my $button = PerlQt5::QtWidgets::QPushButton->new( 'Hello, World!', un +def);
yes, I am noy sure how to instanciate a global QApplication ?

Replies are listed 'Best First'.
Re^4: Qt5 and perl
by Anonymous Monk on Dec 05, 2019 at 11:09 UTC
    Just started with working with Perl Tk. I think there is interests in this subject, especially to overcome the impression that, Perl is not vibrant and state of the art or leading edge. I disagree with this view, but the argument is made by younger users, which don’t use Perl or don’t even want to spend the time to lern it. The feel much more then the look is determined by the GUI.
      yes, perl5 is too heavy on structure and magic symbols, but I am pretty sure in the long term .... noooop...

      perl5 won't have a nice future, only feeding CPAN will spare it longer ..it has not a good "objects" hineritance way of coding and debugging...$!

      I think long lasting interrests (since the 80ies, the 16 bit processor) are on reaching 4rth generation languages by training algos to bridge together those 3rd generations languages, one not better than the others! this is why I am looking to understand this perl+Qt5 stuff, based on "smoke" by chrisburel...