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

Qt5 and perl

by ptizoom (Scribe)
on Oct 25, 2018 at 09:36 UTC ( [id://1224649]=perlquestion: print w/replies, xml ) Need Help??

ptizoom has asked for the wisdom of the Perl Monks concerning the following question:

is there an intensive for binding Qt5 with perl?

Replies are listed 'Best First'.
Re: Qt5 and perl
by 1nickt (Canon) on Oct 25, 2018 at 14:10 UTC

    Hi, your question is lazy. Who knows what "Qt5" is? I didn't, but I know that the place where stable Perl initiatives can be found is the CPAN. So I looked there by searching in the search box for "QT5."

    This led me to QMake::Project, the documentation of which states, in part:

    COMPATIBILITY

    This module should work with qmake from Qt 3, Qt 4 and Qt 5.

    Hope this helps!


    The way forward always starts with a minimal test.
        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 ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found