I believe that IFQT is set on startup, so it may be necessary either to restart the J console session or maybe first just set IFQT=: 1 and see if that works.
Cheers, bob > On May 8, 2022, at 10:16, Raul Miller <rauldmil...@gmail.com> wrote: > > I do not understand what "recommitted" means here. > > I did take a quick look at qt.ijs -- it requires IFQT to be defined as > 1, and stdlib.ijs defines IFQT to be 0. > > It looks like the jqt shared library sets IFQT to be 1 during initialization. > > https://github.com/jsoftware/qtide/blob/master/lib/base/jsvr.cpp#L428 > > I hope this helps, > > -- > Raul > > On Sun, May 8, 2022 at 1:05 PM bill lam <bbill....@gmail.com> wrote: >> >> Running jqt under jconsole had been recommitted for several years already. >> >> On Mon, 9 May 2022 at 12:40 AM Razetime <rraghu.11...@gmail.com> wrote: >> >>> Thanks. I just tried the instructions over at >>> https://code.jsoftware.com/wiki/Guides/Qt_IDE/Qt_Jconsole, but i still get >>> a value error for wd: >>> $ ijconsole >>> require '~addons/ide/qt/qt.ijs' >>> >>> wd >>> |value error: wd >>> How do I prevent the value error? >>> Doing jqt script.ijs does work, but echo only outputs to the GUI, so I >>> can't use it. >>> >>> Thanks, >>> Raghu. >>> >>> On Sun, May 8, 2022 at 9:26 PM Gilles Kirouac <g1...@myriade.ca> wrote: >>> >>>> The Window Driver wd is normally not available in jconsole, which you >>>> are using. >>>> >>>> wd rests on the QT environment and is available with the J QT ide. >>>> >>>> wd itself is defined in addons/ide/qt/qt.ijs. >>>> >>>> To use wd in jconsole, you need to have the QT environment available. >>>> >>>> To learn more, start here >>>> >>>> https://code.jsoftware.com/wiki/Guides/Qt_IDE >>>> >>>> ~ Gilles >>>> >>>> Le 2022-05-08 à 10:33, Razetime a écrit : >>>>> So far I've been able to run the script at this link: >>>>> >>>> >>> https://github.com/loovjo/esoteric-editor/blob/main/components/GUIC/gui.ijs >>>>> using wd on the jqt IDE. >>>>> >>>>> I need to run it as a standalone script to include it with the rest of >>> my >>>>> project. However, I get this error: >>>>> $ ijconsole gui.ijs >>>>> |value error: wd >>>>> | wd'pc editmdemo;pn "Editm Demo"' >>>>> |[-51] >>>>> >>> /home/razetime/Documents/Code/fun/esoteric-editor/components/GUIC/gui.ijs >>>>> I assume I need some import here, but I've been unable to find any >>>> imports >>>>> required for using wd on the wiki pages for it. >>>>> >>>>> Thanks, >>>>> Raghu. >>>>> ---------------------------------------------------------------------- >>>>> 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 >>> >> ---------------------------------------------------------------------- >> 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