octave-maintainers
[Top][All Lists]
Advanced

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

Re: MacOS X GUI build


From: Ben Abbott
Subject: Re: MacOS X GUI build
Date: Tue, 31 Jan 2012 09:28:17 -0500

On Jan 31, 2012, at 7:03 AM, Jacob Dawid wrote:

> Am 31. Januar 2012 12:04 schrieb Richard Crozier <address@hidden>:
> 
>> On 31/01/2012 01:21, Ben Abbott wrote:
>> 
>> > On Jan 30, 2012, at 8:04 PM, Ben Abbott wrote:
>> >
>> >> The terminal font is too small for my taste, and readline doesn't
>> >> appear to be function. But octave is functional. I think the octave
>> >> the gui is the one I have installed (older, but recent version) so
>> >> that may explain the readline problem.
>> >
>> > I'm able to improve the fontsize by editing the size coded
>> > into QUnixTerminalImpl.cpp
>> >
>> > When I run the gui, I see some errors in the terminal.
>> >
>> > I can't cut-n-paste from the terminal, so I took a picture of it. It is
>> > attached.
>> >
>> > Ben
>> >
>> 
>> I haven't looked at the code, but perhaps Qt does not find the font
>> specified in the code and uses whatever is the default fall-back.
>> 
>> I moved to using the free font
>> Inconsolat(http://levien.com/type/myfonts/inconsolata.html) to achieve
>> the same results on all platforms in QtOctave. You can ship it with the
>> GUI and have it always use this font which is stored in a local folder
>> (so it does not have to be installed on the user's system).
>> 
>> Richard
> 
> I have already updated qterminal so that it searches for Monaco as a font on 
> a Mac.

Monaco is a good choice for MacOS X.

I updated my sources and did a "make clean; git pull" in qterminal, and then 
"make clean; ./compile,sh" in gui.

I encountered the error below. I don't see QTerminalInterface.h in your repo.

        
https://code.google.com/p/qterminal/source/browse/#git%2Flibqterminal%2Funix

Did you forget to commit the new file ? ... or did I do something wrong on my 
end ?

/Developer/usr/bin/llvm-g++-4.2 -c -pipe 
-I/opt/local/include/octave-3.6.0-rc1/octave/.. 
-I/opt/local/include/octave-3.6.0-rc1/octave -g -gdwarf-2 -Wall -W 
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/opt/local/share/qt4/mkspecs/macx-g++ -I. -Imoc-files -Isrc -Isrc/backend 
-Iqterminal/libqterminal -Iqirc/libqirc 
-I-I/opt/local/include/octave-3.6.0-rc1/octave/.. 
-I-I/opt/local/include/octave-3.6.0-rc1/octave -I-I/opt/local/include 
-I/opt/local/include/QtWebKit -I/opt/local/include/QtGui 
-I/opt/local/include/QtNetwork -I/opt/local/include/QtCore -I/opt/local/include 
-Iui-files -o object-files/MainWindow.o src/MainWindow.cpp
In file included from qterminal/libqterminal/QTerminal.h:37,
                 from src/MainWindow.h:37,
                 from src/MainWindow.cpp:25:
qterminal/libqterminal/unix/QUnixTerminalImpl.h:28:32: error: 
QTerminalInterface.h: No such file or directory
In file included from qterminal/libqterminal/QTerminal.h:37,
                 from src/MainWindow.h:37,
                 from src/MainWindow.cpp:25:
qterminal/libqterminal/unix/QUnixTerminalImpl.h:31: error: expected class-name 
before ‘{’ token
src/MainWindow.cpp: In member function ‘void 
MainWindow::handleSaveWorkspaceRequest()’:
src/MainWindow.cpp:128: error: ‘class QTerminal’ has no member named ‘setFocus’
src/MainWindow.cpp: In member function ‘void 
MainWindow::handleLoadWorkspaceRequest()’:
src/MainWindow.cpp:138: error: ‘class QTerminal’ has no member named ‘setFocus’
src/MainWindow.cpp: In member function ‘void 
MainWindow::handleClearWorkspaceRequest()’:
src/MainWindow.cpp:145: error: ‘class QTerminal’ has no member named ‘setFocus’
src/MainWindow.cpp: In member function ‘void 
MainWindow::handleCommandDoubleClicked(QString)’:
src/MainWindow.cpp:152: error: ‘class QTerminal’ has no member named ‘setFocus’
src/MainWindow.cpp: In member function ‘void MainWindow::construct()’:
src/MainWindow.cpp:304: error: no matching function for call to 
‘NonClosableMdiSubWindow::setWidget(QTerminal*&)’
/opt/local/include/QtGui/qmdisubwindow.h:80: note: candidates are: void 
QMdiSubWindow::setWidget(QWidget*)
src/MainWindow.cpp:311: error: no matching function for call to 
‘NonClosableMdiSubWindow::setFocusProxy(QTerminal*&)’
/opt/local/include/QtGui/qwidget.h:434: note: candidates are: void 
QWidget::setFocusProxy(QWidget*)
qterminal/libqterminal/unix/CharacterColor.h: At global scope:
qterminal/libqterminal/unix/CharacterColor.h:102: warning: ‘base_color_table’ 
defined but not used
make: *** [object-files/MainWindow.o] Error 1

Ben



reply via email to

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