# New Ticket Created by  Ilya Martynov 
# Please include the string:  [perl #24514]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24514 >



1. There are incorrect instructions on running the example
2. .so extension should be omited in loadlib

See below my signature for patch which fixes both problems.

-- 
Ilya Martynov,  [EMAIL PROTECTED]
CTO IPonWEB (UK) Ltd
Quality Perl Programming and Unix Support
UK managed @ offshore prices - http://www.iponweb.net
Personal website - http://martynov.org

Index: examples/pni/QtHelloWorld.pasm
===================================================================
RCS file: /cvs/public/parrot/examples/pni/QtHelloWorld.pasm,v
retrieving revision 1.1
diff -u -d -r1.1 QtHelloWorld.pasm
--- examples/pni/QtHelloWorld.pasm      12 Oct 2003 04:44:04 -0000      1.1
+++ examples/pni/QtHelloWorld.pasm      18 Nov 2003 13:09:25 -0000
@@ -2,20 +2,19 @@
 # s. docs/pdds/pdd03_calling_conventions.pod
 #
 # You'll need to build libPQt.so for this to work, see
-# pqt.C for more info.
+# PQt.C for more info.
 # Please note: this will either need JIT/i386 for building the
 #              nci-functions on the fly, or adding missing
 #              signatures to call_list.txt and rebuilding parrot/imcc
 #
-# make && make -s -C languages/imcc
-# ln -s languages/imcc imcc
+# make
 # cd examples/pni
 # export LD_LIBRARY_PATH=.
-# ../../imcc QtHelloWorld.pasm
+# ../../parrot QtHelloWorld.pasm
 
 
 # load the shared lib
-    loadlib P1, "libPQt.so"
+    loadlib P1, "libPQt"
     print "Loaded\n"
 
 # get and invoke the QApplication_new function


Reply via email to