Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: perl + Qt, the easy way

by chrisburel (Initiate)
on Jan 09, 2015 at 23:52 UTC ( [id://1112822]=note: print w/replies, xml ) Need Help??


in reply to perl + Qt, the easy way

Hi! I'm the author of PerlQt4, and I think I can answer a few of your questions.

Why is it not on CPAN?

I tried to do this a while ago. But there were ownership issues that I was not able to get sorted out. The module filename is called PerlQt4. But internally it follows a lot of the module names as the Qt3 bindings, so there's code in the Qt namespace, Qt::internal namespace, etc, which is already owned by Ashley Winters or Germain Garand (iirc). I tried contacting them, and I think I even tried contacting the CPAN admins, to no effect. So I wasn't able to make an official release due to those issues, and gave up. This was a few years ago, so maybe it's time to try again.

Is Windows supported?

Yes. But, the build system depends on cmake, so cmake must be installed. I thought this would be clear from the error message:

"Output from 'C:\strawberry180\perl\bin\perl.exe Makefile.PL': You must have cmake installed to compile PerlQt4. at Makefile.PL line + 54"

Is Qt5 supported?

Currently, no. PerlQt depends on a library called smoke, which is maintained by the KDE developers. The smoke library is what is responsible for parsing Qt's headers, and generating an interface that PerlQt can work with. It's a bit like PyQt's dependence on sip. The smoke library currently does not successfully parse Qt5's headers.

Is the project dying?

Probably. I don't have as much time to devote to it as I used to. But hearing that people actually want to use it is encouraging.

Replies are listed 'Best First'.
Re^2: perl + Qt, the easy way
by RonW (Parson) on Jan 10, 2015 at 01:00 UTC
    Why not a Qt4 namespace and leave Qt as a defacto Qt3 namespace?
      That would've been a good idea, if I had known that it was going to be a problem before I wrote the code. But it's been released since 2009, and changing the module namespace would break any existing PerlQt4 code out there.
Re^2: perl + Qt, the easy way
by vkon (Curate) on Jan 10, 2015 at 13:37 UTC
    wow...
    you seriously rock!
    :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found