[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GUI compilation failing with Scintilla
From: |
Daniel J Sebald |
Subject: |
GUI compilation failing with Scintilla |
Date: |
Mon, 20 Aug 2012 11:36:05 -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 |
I've tried compiling the GUI. It fails with the following:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../libgui/src -I../..
-I/usr/include -I/usr/include/QtCore -I/usr/include/QtGui
-I/usr/include/QtNetwork -I../../../libgui/src/../qterminal/libqterminal
-I../../../libgui/src/m-editor -I../../../libgui/src/octave-adapter
-I../../../libgui/src/qtinfo -I../../../libgui/src/../../libcruft/misc
-I../../liboctave -I../../../libgui/src/../../liboctave
-I../../libinterp -I../../libinterp/interp-core
-I../../libinterp/interpfcn -I../../libinterp/parse-tree
-I../../../libgui/src/../../libinterp
-I../../../libgui/src/../../libinterp/interp-core
-I../../../libgui/src/../../libinterp/interpfcn
-I../../../libgui/src/../../libinterp/octave-value
-I../../../libgui/src/../../libtinerp/operators
-I../../../libgui/src/../../libinterp/parse-tree -g -O2 -pthread
-I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread
-MT liboctgui_la-find-dialog.lo -MD -MP -MF
.deps/liboctgui_la-find-dialog.Tpo -c
../../../libgui/src/m-editor/find-dialog.cc -fPIC -DPIC -o
.libs/liboctgui_la-find-dialog.o
../../../libgui/src/m-editor/find-dialog.cc: In constructor
'find_dialog::find_dialog(QsciScintilla*, QWidget*)':
../../../libgui/src/m-editor/find-dialog.cc:46:68: warning: declaration
of 'parent' shadows a member of 'this'
../../../libgui/src/m-editor/find-dialog.cc: In member function 'void
find_dialog::search_next()':
../../../libgui/src/m-editor/find-dialog.cc:150:39: error: no matching
function for call to 'QsciScintilla::findFirst(QString, bool, bool,
bool, bool, bool, int&, int&, bool, bool)'
/usr/include/Qsci/qsciscintilla.h:604:18: note: candidate is: virtual
bool QsciScintilla::findFirst(const QString&, bool, bool, bool, bool,
bool, int, int, bool)
Also, I'm getting a lot of this kind of warning:
../../../libgui/src/workspace-model.h:78:30: warning: declaration of
'row' shadows a member of 'this'
Could my version of the QScintilla be out of date? I am trying to
compile from a separate build directory; is that an issue?
The only thing I see in the config.log related to this is:
Qt headers: /usr/include
Qt libraries: /usr/lib64
For now I'll compile without GUI.
...
Jacob, what are you using to layout the GUI. I've looked at Qt4
Designer and it appears to work with something called a ".ui" file. I
see only one or two UI files for the welcome screen and the settings screen.
Dan