Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Qt5 and perl

by ptizoom (Scribe)
on Nov 12, 2018 at 18:53 UTC ( [id://1225653]=note: print w/replies, xml ) Need Help??


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

I think this project is just a wrapper around the "moc". I was looking for something in progress which handles Qt5 like the Qt4 package would. if anyone knows a whereabout.

this perlqt is a long running issue as in perl + Qt, the easy way.

they are efforts for bridging Qt5 with python and ruby (others): and https://github.com/kitech/ruby-jit-qt looks simple enough. I believe python has the strongest way to do the port.

I am investigating Qt bindings using smokeqt, or even swig, but the first later seems neglected: as in https://tracker.debian.org/pkg/smokeqt . nevertheless githubiens of microzof are wriggling towards progress like in ... https://github.com/Shinmera/smokeqt or mainly ... https://github.com/KDE/smokeqt/tree/Qt5v2 , https://github.com/chrisburel/smokeqt etc... but am not sure which way to go, so I was thinking this wise community to enlighten the path.

and a fairly young blog is explaining a few things on that mystery: https://github.com/ryanmelt/qtbindings/issues/131

And , https://sourceforge.net/p/swig/mailman/message/30349828/ is a link introducing an effort on Qt and Python, with a touch of SWIG...

unfortunately, shiboken is used instead good old SWIG; this is not helping universal bridging: http://code.qt.io/cgit/pyside/pyside-setup.git/

anyway, with a bit of naive dare, it could be hardship cheap to complement smoke{qt} with SWIG ?

thx.

Replies are listed 'Best First'.
Re^3: Qt5 and perl
by ptizoom (Scribe) on Nov 30, 2019 at 12:18 UTC
    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 ?
      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...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225653]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-19 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found