[PyKDE] Problems building qscintilla against qt2
Peter Butler
peter.butler at 141.com
Fri Nov 19 08:58:10 GMT 2004
Sorry if this is the wrong place to post this. I'm trying to build
qscintilla 1.61 using qt-2.1.1 on deli linux (Slackware 7.1).
I had to build qmake from qt3.3.3 in order to build qscintilla.pro, as
it is not included iwith qt 2.1.1. The problem is that when I build
using the resulting Makefile I get the following errors (see below).
Does anyone have any pointers as to how to get this to work with
qt-2.1.1? Can I use tmake instead? Is it even possible to build
qscintilla using this version of Qt?
Thanks in advance.
Peter Butler
g++ -c -pipe -w -O2 -D_REENTRANT -fPIC -DQEXTSCINTILLA_MAKE_DLL -DQT
-DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/root/qt-x11-free-3.3.3/mkspecs/default -I. -I. -I../include -I../src
-I/usr/lib/qt-2.1.1//include -o qextscintilla.o qextscintilla.cxx
In file included from qextscintilla.cxx:31:
qextscintillacommandset.h:27: qptrlist.h: No such file or directory
In file included from qextscintilla.h:32,
from qextscintilla.cxx:28:
qextscintillabase.h:2222: `QContextMenuEvent' was not declared in this
scope
qextscintillabase.h:2222: `cme' was not declared in this scope
qextscintillabase.h:2222: variable or field `contextMenu' declared void
In file included from qextscintilla.cxx:31:
qextscintillacommandset.h:60: syntax error before `&'
qextscintillacommandset.h:63: semicolon missing after declaration of
`QextScintillaCommandSet'
qextscintillacommandset.h:63: two or more data types in declaration of
`clearKeys'
qextscintillacommandset.h:68: parse error before `private'
qextscintillacommandset.h:71: parse error before `*'
qextscintillacommandset.h:74: syntax error before `;'
qextscintillacommandset.h:77: parse error before `const'
qextscintillacommandset.h:78: `operator =(const QextScintillaCommandSet
&)' must be a nonstatic member function
qextscintillacommandset.h:80: parse error before `}'
qextscintilla.cxx: In method `QextScintilla::QextScintilla(QWidget * =
0, const char * = 0, unsigned int = 0)':
qextscintilla.cxx:97: no matching function for call to
`QextScintillaCommandSet::QextScintillaCommandSet (QextScintilla *)'
qextscintillacommandset.h:63: candidates are:
QextScintillaCommandSet::QextScintillaCommandSet(const
QextScintillaCommandSet &)
qextscintillacommandset.h:63:
QextScintillaCommandSet::QextScintillaCommandSet()
make: *** [qextscintilla.o] Error 1
More information about the PyQt
mailing list