qtoctave on Mac Os X 10.6 Snow Leopard - menus not working

View: New views
3 Messages — Rating Filter:   Alert me  

qtoctave on Mac Os X 10.6 Snow Leopard - menus not working

by coccoinomane :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

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

by David Grundberg-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Guido Walter Pettinari 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
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>  


If you have inquiries about qtoctave, you will have to contact those who
develop qtoctave.  The Octave help mailing list is about using GNU Octave.

David
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

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

by coccoinomane :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave