2-Feb-2013
Present in: 0.10.1-1pclos2013 (also previous versions) - fixed in 0.10.1-2pclos2013
Problem:
When QtOctave is run, button icons are not shown, editor highlighting does not work; a warning is displayed:
>>>warning: addpath: /opt/qtoctave/share/qtoctave/scripts_octave/: No such file or directory
>>>error: `_ide_reload_variables_list' undefined near line 4 column 1
A quick investigation shows that directories are hard-coded in the qtoctave binary:
strings /usr/bin/qtoctave |grep "/opt"
/opt/qtoctave/share/qtoctave/images
/opt/qtoctave/share/qtoctave
/opt/qtoctave/share/doc/qtoctave/qtoctave_doc/index.html
/opt/qtoctave/share/doc/octave-html/octave_doc/index.html
/opt/qtoctave/share/qtoctave/lang
/opt/qtoctave/share/qtoctave/pkg-commands.list
Workaround:
A 'qtoctave' directory should be added in /opt
A symbolic link should then be created inside /opt/qtoctave pointing to /usr/share:
mkdir /opt/qtoctave
ln -s /usr/share /opt/qtoctave/share