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: Sun, 09 Oct 2011 21:41:40 +0200

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.



reply via email to

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