octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qthandles with octave 3.7.7 cli


From: John W. Eaton
Subject: Re: qthandles with octave 3.7.7 cli
Date: Wed, 02 Oct 2013 12:57:36 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12

On 10/02/2013 12:32 PM, Werner Koenig wrote:
Hallo List,

after I have installed octave 3.7.7 and qthandles, i made first
experience with qthandles.
It works fine with octave-gui 3.7.7, but now I want to use it in
octave-cli 3.7.7, but the prompt
to command graphics_toolkit qt is

error: __init_qt__: QApplication object must exist.

Any hints to use qthandles in octave-cli 3.7.7 ?

You can't really do that.

The point of octave-cli is to have a binary that is not even linked with the Qt libraries, so using Qt Handles with octave-cli doesn't make much sense to me.

If you mean that you want to use the command line interface for Octave instead of the GUI and still display graphics with QtHandles, then you can't really do that yet because, as Octave is telling you, a QApplication object must exist to use the Qt widgets and we don't currently create one when starting Octave without the GUI, even when it is the octave binary that is linked with the Qt widgets. That can probably be fixed, but it hasn't been done yet. If you want to look at what might be needed, then look at the wrapper program that is included with QtHandles and think about how that might be integrated with Octave's main program that is linked with Qt.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]