Tricky; since no QApplication has been created, there's no event loop
nor container for instantiated widgets. As such, the majority of wd
commands will fail (either segfaulting or aborting jconsole)

On Wed, Jul 9, 2014 at 2:44 PM, Devon McCormick <[email protected]> wrote:
> Does this mean there's possibly some hacks I could do to get it working
> from the console?
>
>
> On Wed, Jul 9, 2014 at 9:41 AM, Marc Simpson <[email protected]> wrote:
>
>> I doubt there's anything wrong with Devon's installation; the libjqt
>> library path isn't set when IFQT is false (see stdlib.ijs).
>>
>> Also note that even if you revise the path in wd1 after loading the
>> IDE library, GUI bindings won't work as the requisite setup (provided
>> by jqt) isn't in place.
>>
>> On Wed, Jul 9, 2014 at 2:21 PM, Raul Miller <[email protected]> wrote:
>> > I don't have access to a jqt implementation right now to try this on, but
>> > it looks like you have an installation problem - I imagine you are
>> missing
>> > libjqt.
>> >
>> > Thanks,
>> >
>> > --
>> > Raul
>> > On Jul 9, 2014 9:13 AM, "Devon McCormick" <[email protected]> wrote:
>> >
>> >> The thing I find annoying is that with the gtk graphics, I could call
>> >> graphical things from the console.  Qt breaks attempting to define "wd":
>> >>
>> >>    load 'd:\users\devonmcc\j64-802\addons\ide\qt\qt.ijs'
>> >> |domain error: wd1
>> >> |wd1[0]
>> >>       13!:1''
>> >> |domain error
>> >> *wd1[0]
>> >> |   'r c l p n'=.    wd1(,y);(#,y);(,2);(,0)
>> >> |wd[0]
>> >> |   ver=.    wd'version'
>> >> |checkjqtversion[1]
>> >> |       checkjqtversion''
>> >> |[-248] d:\users\devonmcc\j64-802\addons\ide\qt\qt.ijs
>> >> |       0!:0 y[4!:55<'y'
>> >> |script[0]
>> >> |fn[0]
>> >> |       fn fl
>> >> |load[:7]
>> >> |   0     load y
>> >> |load[0]
>> >> |       load'd:\users\devonmcc\j64-802\addons\ide\qt\qt.ijs'
>> >>       wd1
>> >> '"libjqt" wd + i *c i * *i'&(15!:0)
>> >>
>> >>
>> >> On Wed, Jul 9, 2014 at 8:18 AM, Jan-Pieter Jacobs <
>> >> [email protected]> wrote:
>> >>
>> >> > Well I think this is a broader problem ... jconsole is a sort of
>> >> > second-rank citizen, while it comes in really handy when GUI's are
>> >> > inaccessible or clumsy to tackle. Eg. I might be working in jconsole,
>> but
>> >> > do want plots to work as expected.
>> >> >
>> >> > Summarised: it would be great to have simple console access to J,
>> without
>> >> > having to use the IDE. Whether or not windows have to pop up could be
>> >> > assessed looking at the $DISPLAY environment variable (or whatever is
>> >> > equivalent in other OS's).
>> >> >
>> >> > Jan-Pieter
>> >> > On 9 Jul 2014 12:43, "Dan Bron" <[email protected]> wrote:
>> >> >
>> >> > > If you're using emacs and not the Qt frontend, there's no
>> (appreciable)
>> >> > > difference between J8, J7, and J6.
>> >> > >
>> >> > > Though they have different version numbers, the only significant
>> >> > > difference between them is the default development environment,
>> which
>> >> is
>> >> > > irrelevant to you.
>> >> > >
>> >> > > In other words, keep using J7+Emacs; you're not missing out on
>> anything
>> >> > in
>> >> > > J8.
>> >> > >
>> >> > > -Dan
>> >> > >
>> >> > > Please excuse typos; sent from a phone.
>> >> > >
>> >> > > > On Jul 9, 2014, at 6:33 AM, Devon McCormick <[email protected]>
>> >> > wrote:
>> >> > > >
>> >> > > > Is this something to do with the Qt implementation under Windows?
>> >> > > >
>> >> > > > It's very frustrating for me as it means I have to choose between
>> J8
>> >> > and
>> >> > > > emacs - and, for now, emacs wins.
>> >> > > >
>> >> > > >
>> >> > > >> On Wed, Jul 9, 2014 at 6:20 AM, bill lam <[email protected]>
>> >> wrote:
>> >> > > >>
>> >> > > >> I suspect this cannot be done.
>> >> > > >>> On Jul 9, 2014 6:12 PM, "Devon McCormick" <[email protected]>
>> >> > wrote:
>> >> > > >>>
>> >> > > >>> Is there any way to run Qt-related things under the jconsole?
>>  In
>> >> > J7, I
>> >> > > >>> could run gtk image fns from my jconsole but the Qt things I
>> want
>> >> to
>> >> > > run
>> >> > > >>> seem to blow up on the definition of "wd".
>> >> > > >>>
>> >> > > >>> I really just want a way to run a system timer in the background
>> >> > from a
>> >> > > >>> console session.
>> >> > > >>>
>> >> > > >>> Has anyone done anything like this in J8?
>> >> > > >>>
>> >> > > >>> Thanks,
>> >> > > >>>
>> >> > > >>> Devon
>> >> > > >>> --
>> >> > > >>> Devon McCormick, CFA
>> >> > > >>>
>> >> > ----------------------------------------------------------------------
>> >> > > >>> For information about J forums see
>> >> > http://www.jsoftware.com/forums.htm
>> >> > > >>
>> >> ----------------------------------------------------------------------
>> >> > > >> For information about J forums see
>> >> > http://www.jsoftware.com/forums.htm
>> >> > > >
>> >> > > >
>> >> > > >
>> >> > > > --
>> >> > > > Devon McCormick, CFA
>> >> > > >
>> >> ----------------------------------------------------------------------
>> >> > > > 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
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Devon McCormick, CFA
>> >> ----------------------------------------------------------------------
>> >> 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
>>
>
>
>
> --
> Devon McCormick, CFA
> ----------------------------------------------------------------------
> 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