[Kde-perl] success for qt free edition on os x

Brian Medley bpm-nospam at 4321.tv
Sat Jun 28 00:26:30 CEST 2003


Hi,

I just wanted to thank everyone for their work that made PerlQt possible
and to report a success with the product.  I was able to build PerlQt and
run tutorial/t14.  

Below is what I did.

I built Qt using:
$ ./configure -v -qt-sql-psql -I/sw/include/ -I/sw/include/postgresql \
-L/sw/lib -thread
$ /usr/bin/make

I built PerlQt using:
$ export CC="c++" CXX="c++" CCCMD="c++" LD="c++"
$ make LD="c++"

I ran tutorial t14 by a) modifing t14.pl to look like:

    #!/sw/bin/perl -w
    use strict;

    use FindBin;
    use lib "$FindBin::Bin/../Resources";

    use Qt;
    use GameBoard;

    Qt::Application::setColorSpec(&Qt::Application::CustomColor);
    ...

and b) doing the collowing commands:

$ mkdir -p t14.app/Contents/MacOS
$ mkdir -p t14.app/Contents/Resources
$ echo "APPL????" >t14.app/Contents/MacOS/../PkgInfo
$ cp "$QTDIR/mkspecs/macx-g++/Info.plist.app" "t14.app/Contents/MacOS/../Info.plist"
$ cp t14.pl t14.app/Contents/MacOS/t14
$ cp *.pm t14.app/Contents/Resources/
$ open t14.app/

It then loaded and everything worked.

-- 
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                          Brian Medley         @~./'O o`\.~@
"Knowledge is Power" brian.medley at verizon.net /__( \___/ )__\  *PPPFFBT!*
  -- Francis Bacon                               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`


More information about the Kde-perl mailing list