[Kde-perl] I've a interesting issue with PerlQt 3.008
Gary Greene
greeneg at arklinux.org
Tue Aug 17 02:36:45 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm only testing the module out on my system, however, I get an error from the
perl code examples from O'Reilly & Assoc. Programming with Qt 2nd ed. Here's
the relevant error info below:
[greeneg at uriel perl]$ perl qt.pl
Can't locate Qt/app.pm in @INC (@INC
contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at qt.pl line
3.
BEGIN failed--compilation aborted at qt.pl line 3.
The script follows:
#!/usr/bin/perl
use Qt 2.0;
use Qt::app;
$mylabel = new Qt::Label( "Hello world", 0 );
$mylabel->resize( 120, 30 );
$app->setMainWidget( $mylabel );
$mylabel->show();
exit $app->exec();
Is the "use Qt 2.0;" line the culprit? I'll admit that I'm using Qt 3.3.3 with
the bindings.
Any help is appreciated. Thanks.
- --
Gary L. Greene, Jr.
Sent from uriel.tolharadyne.net
20:29:02 up 1 day, 2:43, 4 users, load average: 0.15, 0.54, 0.62
============================================================
Developer for the Ark Linux Project
check out http://www.arklinux.org/ for more info.
Also http://www.csis.gvsu.edu/~greeneg/
EMAIL : greeneg at arklinux.com
============================================================
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
for more information.
Consider using a free MS-Office replacement for most platforms,
http://www.openoffice.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBIVMhynMfbISpaCwRAgcvAJ0f/gHItatt+UAky/l4de1483jhhgCgkVCL
Pcgkmz9/pbHaTV7S7hDinz0=
=itWr
-----END PGP SIGNATURE-----
More information about the Kde-perl
mailing list