[PyKDE] qscintilla 1.65 make problems
Scott Rifkin
srifkin at oeb.harvard.edu
Fri Jan 27 15:35:21 GMT 2006
I am trying to install eric3 and need to install qt, qscintilla, sip ,
and pyqt beforehand. I can't run as root. I'm running Red Hat
Enterprise Linux AS release 3 (Taroon Update 6).
I installed Qt 4.1.0 in a directory under my home directory
~/local/Trolltech/Qt-4.1.0 and that worked.
I unpacked qscintilla-1.65 to ~/local/Trolltech/ and removed thread
support and commented out the DESTDIR variable in qscintilla.pro
My QTDIR is set to ~/local/Trolltech/Qt-4.1.0 in .bash_profile.
When I try to run make in ~/local/Trolltech/qscintilla-1.65-gpl-1.6/qt/,
I get the following slew of errors. Any help on getting this all to
work would be much appreciated.
Thanks much
[]$ make
g++ -c -pipe -O2 -w -D_REENTRANT -fPIC -DQEXTSCINTILLA_MAKE_DLL -DQT
-DSCI_LEXER -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I../../Qt-4.1.0/mkspecs/linux-g++ -I. -I../../Qt-4.1.0/include/QtCore
-I../../Qt-4.1.0/include/QtGui -I../../Qt-4.1.0/include -I. -I../include
-I../src -I. -I. -o qextscintilla.o qextscintilla.cpp
In file included from qextscintilla.cpp:28:
qextscintilla.h:29:25: qguardedptr.h: No such file or directory
In file included from qextscintilla.h:32,
from qextscintilla.cpp:28:
qextscintillabase.h:2108: type specifier omitted for parameter `WFlags'
qextscintillabase.h:2108: syntax error before `=' token
In file included from qextscintilla.cpp:28:
qextscintilla.h:263: type specifier omitted for parameter `WFlags'
qextscintilla.h:263: syntax error before `=' token
qextscintilla.h:1202: no type `ButtonState' in `Qt'
qextscintilla.h:1202: syntax error before `)' token
qextscintilla.h:1315: 'QGuardedPtr' is used as a type, but is not
defined as a
type.
In file included from qextscintilla.cpp:31:
qextscintillacommandset.h:27:22: qptrlist.h: No such file or directory
In file included from qextscintilla.cpp:31:
qextscintillacommandset.h:60: syntax error before `&' token
qextscintillacommandset.h:63: semicolon missing after declaration of `
QextScintillaCommandSet'
qextscintillacommandset.h:63: two or more data types in declaration of `
clearKeys'
qextscintillacommandset.h:68: syntax error before `private'
qextscintillacommandset.h:71: syntax error before `*' token
qextscintillacommandset.h:74: 'QPtrList' is used as a type, but is not
defined
as a type.
qextscintillacommandset.h:77: syntax error before `const'
qextscintillacommandset.h:78: `QextScintillaCommandSet& operator=(const
QextScintillaCommandSet&)' must be a nonstatic member function
qextscintillacommandset.h:78: `QextScintillaCommandSet& operator=(const
QextScintillaCommandSet&)' must take exactly two arguments
qextscintillacommandset.h:80: syntax error before `}' token
qextscintilla.cpp:48: prototype for `QextScintilla::QextScintilla(QWidget*,
const char*, QFlags<Qt::WindowType>)' does not match any in class `
QextScintilla'
qextscintilla.h:1324: candidate is: QextScintilla::QextScintilla(const
QextScintilla&)
qextscintilla.cpp: In constructor
`QextScintilla::QextScintilla(QWidget*, const
char*, QFlags<Qt::WindowType>)':
qextscintilla.cpp:56: no matching function for call to `QextScintillaBase::
QextScintillaBase(QWidget*&, const char*&, Qt::WFlags&)'
qextscintillabase.h:2327: candidates are:
QextScintillaBase::QextScintillaBase(const QextScintillaBase&)
qextscintilla.cpp:97: no matching function for call to
`QextScintillaCommandSet
::QextScintillaCommandSet(QextScintilla* const)'
qextscintillacommandset.h:43: candidates are:
QextScintillaCommandSet::QextScintillaCommandSet()
qextscintillacommandset.h:43:
QextScintillaCommandSet::QextScintillaCommandSet(const
QextScintillaCommandSet&)
qextscintilla.cpp: In member function `void
QextScintilla::handleCharAdded(int)':
qextscintilla.cpp:139: `lexer' undeclared (first use this function)
qextscintilla.cpp:139: (Each undeclared identifier is reported only once
for
each function it appears in.)
qextscintilla.cpp: In member function `virtual void
QextScintilla::callTip()':
qextscintilla.cpp:232: no matching function for call to `QString::latin1()'
qextscintilla.cpp:236: no matching function for call to
`QString::find(char)'
qextscintilla.cpp:243: no matching function for call to
`QString::find(char)'
qextscintilla.cpp:249: no matching function for call to
`QString::find(char,
int)'
qextscintilla.cpp: In member function `void
QextScintilla::handleCallTipClick(int)':
qextscintilla.cpp:294: no matching function for call to `QString::latin1()'
qextscintilla.cpp: In member function `void
QextScintilla::startAutoCompletion(QextScintilla::AutoCompletionSource,
bool, bool, bool)':
qextscintilla.cpp:373: no matching function for call to
`QStringList::findIndex
(QString&)'
qextscintilla.cpp:391: no matching function for call to `QString::latin1()'
qextscintilla.cpp: In member function `void QextScintilla::foldClick(int,
int)':
qextscintilla.cpp:867: `ShiftButton' undeclared (first use this function)
qextscintilla.cpp:867: `ControlButton' undeclared (first use this function)
qextscintilla.cpp: In member function `long int
QextScintilla::simpleFind()':
qextscintilla.cpp:1203: `QCString' undeclared (first use this function)
qextscintilla.cpp:1203: syntax error before `=' token
qextscintilla.cpp:1205: `s' undeclared (first use this function)
qextscintilla.cpp:1209: no matching function for call to `QString::latin1()'
qextscintilla.cpp: In member function `virtual void
QextScintilla::replace(const QString&)':
qextscintilla.cpp:1232: no matching function for call to
`QString::utf8() const
'
qextscintilla.cpp:1234: no matching function for call to `QString::latin1()
const'
qextscintilla.cpp: In member function `void
QextScintilla::handleMarginClick(int, int, int)':
qextscintilla.cpp:1274: `AltButton' undeclared (first use this function)
qextscintilla.cpp:1281: `ButtonState' undeclared (first use this function)
qextscintilla.cpp:1281: syntax error before `)' token
qextscintilla.cpp: In member function `virtual void
QextScintilla::append(const
QString&)':
qextscintilla.cpp:1419: syntax error before `=' token
qextscintilla.cpp:1425: no matching function for call to `QString::latin1()
const'
qextscintilla.cpp: In member function `virtual void
QextScintilla::insert(const
QString&)':
qextscintilla.cpp:1444: no matching function for call to
`QString::utf8() const
'
qextscintilla.cpp:1446: no matching function for call to `QString::latin1()
const'
qextscintilla.cpp: In member function `virtual void
QextScintilla::insertAt(const QString&, int, int)':
qextscintilla.cpp:1463: no matching function for call to
`QString::utf8() const
'
qextscintilla.cpp:1465: no matching function for call to `QString::latin1()
const'
qextscintilla.cpp: In member function `virtual void
QextScintilla::setText(const QString&)':
qextscintilla.cpp:1618: no matching function for call to
`QString::utf8() const
'
qextscintilla.cpp:1620: no matching function for call to `QString::latin1()
const'
qextscintilla.cpp: In member function `virtual void
QextScintilla::setMarginWidth(int, const QString&)':
qextscintilla.cpp:1919: no matching function for call to
`QString::utf8() const
'
qextscintilla.cpp:1921: no matching function for call to `QString::latin1()
const'
qextscintilla.cpp: In member function `void
QextScintilla::setStylesFont(const
QFont&, int)':
qextscintilla.cpp:2320: no matching function for call to `QString::latin1()'
qextscintilla.cpp: In member function `QString
QextScintilla::convertText(const
char*)':
qextscintilla.cpp:2573: no matching function for call to
`QString::setLatin1(
const char*&)'
make: *** [qextscintilla.o] Error 1
More information about the PyQt
mailing list