help-octave
[Top][All Lists]
Advanced

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

[SOLVED] Re: qtoctave on Mac Os X 10.6 Snow Leopard - menus not working


From: coccoinomane
Subject: [SOLVED] Re: qtoctave on Mac Os X 10.6 Snow Leopard - menus not working
Date: Mon, 9 Nov 2009 16:21:51 -0800 (PST)

Hello everybody,

just to point out that I solved my problem with menus in qtoctave. The merit
goes to Ted Rippert, who in 

http://groups.google.com/group/qtoctave-english/browse_thread/thread/19187ee734e316cf/8344a04b4189a0e3?lnk=gst&q=qtoctave#8344a04b4189a0e3

suggested this solution:

Just make 2 changes to mainwindow.cpp in the src directory of
the unzipped code.

change line 216 to:
menubar = new QMenuBar(0);

comment out line 237:
//setMenuBar(menubar);

That's all it took.  Works great.  You could probably put an if_define
switch in the code to make this only happen on macs if you wanted to
put a patch into the main code version.

By the way, I did install easy_plot and it works fine, but I had to
make sure that I had set the environment variable GNUTERM=x11.  If
it's set to aqua, then you just get an empty window in easy_plot. 


Hope it helps :) ... and I swear this is my last post on qtoctave!

Cheers,

G.


coccoinomane wrote:
> 
> Hi all!
> 
> I succesfully installed and compiled qtoctave
> (http://qtoctave.wordpress.com/ 
> ) in my MacBook Pro running Mac Os X 10.6 aka Snow Leopard with QT  
> 4.5.3. I strongly suggest this gui, it has functionality which in my  
> opinion are, to some extent, even better than Matlab gui.
> 
> Everythink is working fine, but I have two problems:
> 
> 1) Menus won’t load; both default ones in /usr/local/share/qtoctave/ 
> menus and custom ones in ~/.qtoctave/menus won’t show up in the menu  
> bar. The only entry is the useless ‘qtoctave’. The only exception is  
> when the focus is on the editor window, where I can see the defualt  
> editing menus (View, File, Edit, Run, Tools, Config). I can use  
> qtoctave without menus, but I really would like to enable them;
> 
> 2) I do not know how to use easy_plot. This is not a bug, it is just  
> my ignorance :)
> 
> On a side note, did anybody manage to install the QT terminal for  
> gnuplot on Snow Leopard? I get plenty of errors when compiling gnuplot  
> witht the –eneable-qt option…
> 
> Thank you very much for any help!
> 
> Guido
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

-- 
View this message in context: 
http://old.nabble.com/qtoctave-on-Mac-Os-X-10.6-Snow-Leopard---menus-not-working-tp26095966p26276222.html
Sent from the Octave - General mailing list archive at Nabble.com.




reply via email to

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