Re: PerlQt on Windows
by Anonymous Monk on Nov 16, 2011 at 11:13 UTC
|
| [reply] |
|
Yep I tried cburel's version of qt, but it needs cmake, and even if I install cmake with adding to path variable, while I install package through cpan, it says:
cpan> install CBUREL/Qt-0.96.0.tar.gz
Running make for C/CB/CBUREL/Qt-0.96.0.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/C/CB/CBUREL/Qt-0.96.0.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/C/CB/CBUREL/CHECKSUMS
Checksum for C:\strawberry\cpan\sources\authors\id\C\CB\CBUREL\Qt-0.96
+.0.tar.gz
ok
Scanning cache C:\strawberry\cpan\build for sizes
......................................................................
+......DONE
CPAN.pm: Going to build C/CB/CBUREL/Qt-0.96.0.tar.gz
You must have cmake installed to compile PerlQt4. at Makefile.PL line
+47.
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefil
+e.PL]
CBUREL/Qt-0.96.0.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determi
+ne prerequ
isites
Failed during this command:
CBUREL/Qt-0.96.0.tar.gz : writemakefile NO 'C:\s
+trawberry\
perl\bin\perl.exe Makefile.PL' returned status 512
| [reply] [d/l] |
Re: PerlQt on Windows
by runrig (Abbot) on Nov 16, 2011 at 16:02 UTC
|
| [reply] |
|
Alien::SmokeQt also fails to install with the same problem - can't find cmake installed.
I tried to install PerlQt from old windows distrbution, but it says it needs Qt-3.dll and I think some other dlls.
Tried to install through cpan and myself from sources, but the problem is that it needs to run "configure" file to make all work, but we can't write in cmd "./configure"
It's only for Unix systems...
I can't believe no one wanted to write GUI for Perl apps with Qt and on Windows...
| [reply] |
|
Alien::SmokeQt also fails to install with the same problem - can't find cmake installed.
Maybe you should read and edit Makefile.PL
That of course requires you to stop trying to install it as-is directly from cpan
I can't believe no one wanted to write GUI for Perl apps with Qt and on Windows...
I'm not :) It appears the current maintainer is unaware of cpan-testers or ppm (and probably perlport)
Kobesearch says there is some version of Qt available from the bribes dot org repository ( perl/ppm/PerlQt.ppd ), but doesn't look very useful, as it appears to be missing lots of files (hello doesn't run, missing QColor.pm)
It appears to be the version from PerlQt sourceforge project
That version might be available via cygwin
In any case, there are hours and hours of work in this, for a maybe
| [reply] |
|
Ok, I'll look more in that way, but after a deeper look at Qt features, I'd rather prefer combination of Perl and Java, mainly because of Swing components and it's neat layout system...
Anyway thanks! ;)
| [reply] |
Re: PerlQt on Windows
by admiral_grinder (Pilgrim) on Nov 17, 2011 at 15:59 UTC
|
I would suggest going with Wx. I have used it in the past and it works great in both Windows (Activestate and Strawberry) and Linux. One of the project goals for Wx is native looks. The documentation is a little rough since it is written for C++ but it isn't too hard to navigate and is pretty complete.
There is a demo app of Wx on CPAN but I didn't find it helpful at all.
| [reply] |
|
There is a demo app of Wx on CPAN but I didn't find it helpful at all.
Why not?
I find easier to navigate , and more comprehensive, than the tk demo app "widget".
See also my wxWidgets / wxPerl / wxGlade tutorial
| [reply] |
|
It has been years since I looked at it. It does demo things well, but if you dive into the source to see how they are done then it gets muddy. At the time I was used to Dojo test suite.
You page looks pretty good, I'll bookmark it for future ref
| [reply] |
Re: PerlQt on Windows
by Anonymous Monk on Feb 14, 2012 at 03:50 UTC
|
Hi there,
I'm the developer of the Perl Qt4 project, and only recently have I gotten the project to compile on Windows. There's an open bug about it: http://code.google.com/p/perlqt4/issues/detail?id=39
There should be a new release coming soon with the fixes for Windows support. I've been testing with ActiveState's Perl, so hopefully Strawberry Perl works as well. I'm also hoping to put out some Windows binaries for XP and Vista (I don't have Windows 7), so that might work for you as well. | [reply] |