cvsuser 03/11/19 02:16:58
Modified: examples/pni QtHelloWorld.pasm
Log:
1. There are incorrect instructions on running the example
2. .so extension should be omited in loadlib
Courtey of Ilya Martynov
Revision Changes Path
1.2 +4 -5 parrot/examples/pni/QtHelloWorld.pasm
Index: QtHelloWorld.pasm
===================================================================
RCS file: /cvs/public/parrot/examples/pni/QtHelloWorld.pasm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- QtHelloWorld.pasm 12 Oct 2003 04:44:04 -0000 1.1
+++ QtHelloWorld.pasm 19 Nov 2003 10:16:58 -0000 1.2
@@ -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