octave-maintainers
[Top][All Lists]
Advanced

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

Re: qtHandles on MacOS X


From: Michael Goffioul
Subject: Re: qtHandles on MacOS X
Date: Sat, 9 Jun 2012 19:39:39 +0100

On Sat, Jun 9, 2012 at 7:05 PM, Ben Abbott <address@hidden> wrote:
Michael/jacob

Good news, I'm able to run qtHandles on MacOS X.

I installed octave built from the gui branch (into /usr/local), then installed QtHandles, and built the gui.

I'm using MacPorts as my package manager. It installs everything in /opt/local, so I needed to edit the Makefiles as qmake had incorrectly inferred that Octave lived there.

I ran the plot demos.  Everything worked nicely up until the uigetdir demo.

       ASSERT failure in QWidget: "Widgets must be created  in the GUI thread.", file kernel/qwidget.cpp, line 1280
       panic: Abort trap: 6 -- stopping myself...



Indeed, I implemented uigetdir simply by calling QFileDialog::getExistingDirectory, but it's called form the octave thread. This is the kind of stuff that is not supported on Mac OS X (where every GUI call must absolutely called from the main thread). Maybe I expected Qt to handle the call correctly when called from another thread. I'll have to fix that.

Michael.


reply via email to

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