octave-maintainers
[Top][All Lists]
Advanced

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

Re: GUI won't build with older QScintilla


From: Daniel J Sebald
Subject: Re: GUI won't build with older QScintilla
Date: Thu, 04 Apr 2013 14:28:12 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 04/04/2013 12:58 PM, Ben Abbott wrote:
On Apr 4, 2013, at 1:55 PM, Daniel J Sebald wrote:

On 04/04/2013 12:47 PM, Jordi Gutiérrez Hermoso wrote:

On 4 April 2013 13:41, Daniel J Sebald<address@hidden>   wrote:

Oh, you are trying to include QScintilla.  Where are your header files?
Somewhere other than /<?>/include/Qsci?

The missing file isn't in QScintilla 2.4, but in some later version. I
don't have that later version.

OK, I see that now.  Require 2.X or greater?

Dan

2.4.6 wasn't sufficient (I don't recall the details).

I'm currently building with 2.6.2, but my QScintilla build has some problem.  
When I attempt to invoke the editor from the GUI, everything crashes.

A recent version of the development branch? Things are a bit in flux right now, so it might be a day or two before crashes are gone. But a bigger question from a developer's perspective is how to get some hint about exactly what is crashing (Octave? GUI? QScintilla?). When I've done bigger things here, I modify the line of code in the unix QTerminal that redirects the STDERR to the GUI. Otherwise if the GUI crashes when I'm trying to debug, the error messages are lost along with the GUI windows being erased from the screen.

I created a patch in Savannah bug list that will redirect STDERR back to the terminal right before exit so that one might realize a bug at exit that otherwise wouldn't be noticed because in the case of proper exit and bad exit the windows disappear. But that isn't enough for the case when the GUI crashes in the middle of normal operation. There is this Qt feature qDebug, but I'm not sure where that comes into play.

Dan


reply via email to

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