Thanks Joey. I updated the plot so that Mac jconsole will not try to load qt if QT_PLUGIN_PATH is not set. Hopefully this will give a better user experience.
BTW you can verify whether qt was loaded successfully by typing inside jconsole wd'version' On Fri, Oct 17, 2014 at 1:38 PM, Joey K Tuttle <[email protected]> wrote: > OK, hacking such a script did "work" - albeit a bit strangely > > > Thu Oct 16 22:30:32 > MBair-2:~ jkt$ ls -l /usr/local/bin/jh > lrwxr-xr-x 1 jkt wheel 28 Oct 16 22:26 /usr/local/bin/jh -> > /Applications/j64-803/jh.cmd > Thu Oct 16 22:30:45 > MBair-2:~ jkt$ cat /Applications/j64-803/jh.cmd > #!/bin/sh > export QT_PLUGIN_PATH=/Applications/j64-803/Qt/plugins > export QML2_IMPORT_PATH=/Applications/j64-803/Qt/qml > /Applications/j64-803/bin/jconsole > Thu Oct 16 22:30:58 > MBair-2:~ jkt$ jh > load 'plot' > plot i. 5 > ^D > > Thu Oct 16 22:31:49 > MBair-2:~ jkt$ > > The strangely part is that doing > load 'plot' > changes the focus away from the Terminal window, but nothing actually > appears. If I click on the Terminal window then do something like > plot i. 5 > I get a nice .pdf result. > > There is likely a way to smooth this out (and make the paths more adaptable) > - hopefully... > > - joey > >> On 2014Oct 16, at 20:09, bill lam <[email protected]> wrote: >> >> (continue..) >> >> I remember that jqt on OSX is run from a shell script which set >> path or other environment variables for jqt executbale. Please >> try hacking to let jconsole to use a similar script and see if Qt >> lib can be loaded. Thanks. >> >> -- >> 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 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
