system/main/stdlib.ijs has a list of commands that it tries in
linux_pdfreader. The first x that `which x` succeeds for gets
used. The initial one xdg-open usually works. OSX gets 'open'
which is a similar "use whatever app works for the argument"
program.

   linux_pdfreader_j_
+--------+------+----+----+------+--------+
|xdg-open|evince|kpdf|xpdf|okular|acroread|
+--------+------+----+----+------+--------+
   PDFReader_j_
xdg-open

So you shouldn't need any qt libraries at all, just
one of those programs.

jhs renders plots very nicely as well, within the browser.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Tuesday, June 15th, 2021 at 7:14 AM, 'Rudolf Sykora' via Programming 
<[email protected]> wrote:

> Dear all,
>
> what libraries are actually needed to get an output of 'plot' on screen?
>
> Is qt needed for that?
>
> (At this moment I get plot.pdf file generated in ~temp, instead of an
>
> on-screen figure; running through strace [on linux] mentions various
>
> qt-related software).
>
> Thanks
>
> Ruda
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to