sorry typo, it should be
> export QT_PLUGIN_PATH="$HOME/j64-806/Qt/plugins"

Вс, 09 июл 2017, bill lam написал(а):
> Brian,
> 
> I am not familiar with the detail of mac shortcut. If J is
> installed at $HOME/j64-806, then Qt should be at the folder
> $HOME/j64-806/Qt so that it is effectively 
> export QT_PLUGIN_PATH="$HOME/j64-806/Qt"
> 
> (windows is different, it has no Qt folder and 
> QT_PLUGIN_PATH should be set to the J bin folder)
> 
> I tested by creating a shell jc.command in J bin folder
> with content,
> 
> #!/bin/sh
> cd "`dirname "$0"`/"
> export QT_PLUGIN_PATH="$(pwd)"/../Qt/plugins
> ./jconsole
> 
> At any way, once QT_PLUGIN_PATH is set to something,
> qtlib can be loaded, the real QT_PLUGIN_PATH is 
> needed only for readimg/writeimg of jpeg and some 
> image formats except png.
> 
> the plot.png is just an example, you can substitute
> it by any other image files.
> 
> you can also try
>    (20 20$_1) writeimg_jqtide_ (jpath '~/a1.jpg')
>    $ readimg_jqtide_ jpath '~/a1.jpg'
> 20 20
> this may or may not work, depending on QT_PLUGIN_PATH,
> but png should work
>    (20 20$_1) writeimg_jqtide_ (jpath '~/a1.png')
>    $ readimg_jqtide_ jpath '~/a1.png'
> 20 20
> 
> 
> 
> Вс, 09 июл 2017, Brian Schott написал(а):
> > Bill,
> > 
> > I upgraded the jqt ide and attempted to run some of the code you printed
> > below.
> > I also saw the line `export QT_PLUGIN_PATH="$(pwd)"/../Qt/plugins` in the
> > file /Users/brian/j64-806/bin/jqt.command . But I don't think that is what
> > you meant. Does
> > the line `export QT_PLUGIN_PATH="$(pwd)"/../Qt/plugins` need to be added
> > elsewhere in Darwin?
> > 
> > Last login: Sun Jul  9 10:15:46 on ttys003
> > server:~ brian$ /Users/brian/j64-806/bin/jconsole ; exit;
> >    load'ide/qt/qtlib'
> >    getsha1_jqtide_ 'abc'
> > a9993e364706816aba3e25717850c26c9cd0d89d
> >    $readimg_jqtide_ jpath'~temp/plot.png'
> > 0 0
> >    plot i. 15
> > |value error: plot
> > |       plot i.15
> >    load'plot'
> >    $readimg_jqtide_ jpath'~temp/plot.png'
> > 0 0
> >    $readimg_jqtide_ jpath'~temp/plot.pdf'
> > 0 0
> > 
> > 
> > server:~ brian$ cd /Users/brian/j64-806-user/temp
> > server:temp brian$ ls -l pl*
> > -rw-r--r--  1 brian  staff  110405 Jun  3 12:44 plot.html
> > -rw-r--r--@ 1 brian  staff   79864 Jul  4 12:49 plot.pdf
> > 
> > 
> > On Sun, Jul 9, 2017 at 3:08 AM, bill lam <[email protected]> wrote:
> > 
> > > Changes had been committed to the j806 beta jqt addon
> > > ver. 1.1.122 such that jconsole can call qtlib under both
> > > Windows and Darwin, but the environment variable
> > >  QT_PLUGIN_PATH must be set properly. for windows
> > > it is the bin folder. For Darwin, add
> > > export QT_PLUGIN_PATH="$(pwd)"/../Qt/plugins
> > >
> > > Linux jconsole doesn't require QT_PLUGIN_PATH to work.
> > >
> > >    load'ide/qt/qtlib'
> > >    getsha1_jqtide_ 'abc'
> > > a9993e364706816aba3e25717850c26c9cd0d89d
> > >    $readimg_jqtide_ jpath'~temp/plot.png'
> > > 400 400
> > >
> > >
> > -- 
> > (B=) <-----my sig
> > Brian Schott
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> 
> -- 
> regards,
> ====================================================
> GPG key 1024D/4434BAB3 2008-08-24
> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to