octave-maintainers
[Top][All Lists]
Advanced

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

Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support


From: Martin Helm
Subject: Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support
Date: Mon, 10 Oct 2011 00:55:45 +0200

Am Sonntag, den 09.10.2011, 21:41 +0200 schrieb Martin Helm: 
> Am Sonntag, den 09.10.2011, 18:27 +0100 schrieb Michael Goffioul: 
> > Hi,
> > 
> > It's now publicly available on github: https://github.com/goffioul/QtHandles
> > 
> > To try it, use qmake (sometimes called qmake-qt4) to generate the 
> > Makefile's,
> > then compile as usual. Along with __init_qt__.oct, this will also compile
> > a tool called "octave-qt" that should be started instead of plain octave.
> > This tool is a simple wrapper around octave_main, but run it in a separate
> > thread, while creating a regular Qt event loop in the main thread. The main
> > reason is Mac OS X: on this platform, the GUI event loop MUST run in the
> > main thread, there's no way around that.
> > 
> > Once, you've started octave, you can enable the Qt-backend with:
> > graphics_toolkit('qt')
> > 
> > Note that this toolkit requires a current dev version of octave.
> > 
> > Michael.
> 
> Thanks for that, but when compiling I get
> Backend.cpp:91:44: error: cast from ‘QtHandles::ObjectProxy*’ to
> ‘uint32_t’ loses precision
> 
> on a 64 bit openSUSE 11.4, qt version is 4.7.1, gcc is 4.5.1. I will
> debug into to see if I can resolve that.

I compiled that now as a very first test on an openSUSE 11.4 32 bit in a
virtual machine without errors (which took a while since I first had to
setup the dev version of octave there). 
So far I only did a quick test that I can activate 'graphics_toolkit qt'
and show a plot with it which also succeeded. I will continue tomorrow
to have a look at the ui* features and will then also have a look in
making it work on my original 64 bit system. 



reply via email to

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