[PyQt] problem with QScintilla2 installing

.:: Mehdi Bayazee ::. bayazee at gmail.com
Thu Oct 4 15:26:19 BST 2007


hi
i am trying to install it on kubuntu
I'm already installed these:

apport-qt
libqt4-core
libqt4-dev
libqt4-gui
libqt4-qt3support
libqt4-sql
pyqt4-dev-tools
python-qt4
python-qt4-dev
qt4-designer
qt4-qtconfig

and
python-sip4
sip4

but when i want run make for compile QScintilla2(
QScintilla-gpl-2-snapshot-20070923.tar.gz) it raise some errors ! i cannot
solve this problem. any idea ?

qsciscintilla.cpp:2990: error: ISO C++ forbids declaration of
'QStringList' with no type
qsciscintilla.cpp: In member function 'void
QsciScintilla::setAutoCompletionWordSeparators(int)':
qsciscintilla.cpp:2992: error: 'lex' was not declared in this scope
qsciscintilla.cpp:2993: error: 'wseps' was not declared in this scope
qsciscintilla.cpp:2993: error: 'separators' was not declared in this scope
qsciscintilla.cpp: In member function 'virtual void
QsciScintilla::recolor(int, int)':
qsciscintilla.cpp:3035: error: 'SCI_COLOURISE' was not declared in this scope
qsciscintilla.cpp: In member function 'void
QsciScintilla::registerImage(int, const QPixmap&)':
qsciscintilla.cpp:3042: error: 'SCI_REGISTERIMAGE' was not declared in
this scope
qsciscintilla.cpp: In member function 'void
QsciScintilla::clearRegisteredImages()':
qsciscintilla.cpp:3049: error: 'SCI_CLEARREGISTEREDIMAGES' was not
declared in this scope
qsciscintilla.cpp: In member function 'void
QsciScintilla::setAutoCompletionFillupsEnabled(bool)':
qsciscintilla.cpp:3060: error: 'lex' was not declared in this scope
qsciscintilla.cpp:3063: error: 'explicit_fillups' was not declared in this scope
qsciscintilla.cpp:3065: error: 'SCI_AUTOCSETFILLUPS' was not declared
in this scope
qsciscintilla.cpp: In member function 'void
QsciScintilla::setAutoCompletionFillups(const char*)':
qsciscintilla.cpp:3081: error: 'explicit_fillups' was not declared in this scope
qsciscintilla.cpp: In member function 'virtual void
QsciScintilla::setAutoCompletionCaseSensitivity(bool)':
qsciscintilla.cpp:3089: error: 'lex' was not declared in this scope
qsciscintilla.cpp:3090: error: 'SCI_AUTOCSETIGNORECASE' was not
declared in this scope
qsciscintilla.cpp: In member function 'bool
QsciScintilla::autoCompletionCaseSensitivity() const':
qsciscintilla.cpp:3097: error: 'SCI_AUTOCGETIGNORECASE' was not
declared in this scope
qsciscintilla.cpp: In member function 'virtual void
QsciScintilla::setAutoCompletionReplaceWord(bool)':
qsciscintilla.cpp:3104: error: 'SCI_AUTOCSETDROPRESTOFWORD' was not
declared in this scope
qsciscintilla.cpp: In member function 'bool
QsciScintilla::autoCompletionReplaceWord() const':
qsciscintilla.cpp:3111: error: 'SCI_AUTOCGETDROPRESTOFWORD' was not
declared in this scope
qsciscintilla.cpp: In member function 'int
QsciScintilla::firstVisibleLine() const':
qsciscintilla.cpp:3170: error: 'SCI_GETFIRSTVISIBLELINE' was not
declared in this scope
qsciscintilla.cpp: In member function 'int
QsciScintilla::textHeight(int) const':
qsciscintilla.cpp:3177: error: 'SCI_TEXTHEIGHT' was not declared in this scope
qsciscintilla.cpp: In member function 'bool
QsciScintilla::isListActive() const':
qsciscintilla.cpp:3184: error: 'SCI_AUTOCACTIVE' was not declared in this scope
qsciscintilla.cpp: In member function 'void QsciScintilla::cancelList()':
qsciscintilla.cpp:3191: error: 'SCI_AUTOCCANCEL' was not declared in this scope
qsciscintilla.cpp: In member function 'void
QsciScintilla::handleAutoCompletionSelection()':
qsciscintilla.cpp:3198: error: 'lex' was not declared in this scope
qsciscintilla.cpp:3203: error: 'backdoor' is not a member of 'ListBoxQt'
qsciscintilla.cpp: At global scope:
qsciscintilla.cpp:3209: error: expected ',' or '...' before '&' token
qsciscintilla.cpp:3209: error: ISO C++ forbids declaration of
'QStringList' with no type
qsciscintilla.cpp: In member function 'void
QsciScintilla::showUserList(int, int)':
qsciscintilla.cpp:3217: error: 'SCI_AUTOCSETSEPARATOR' was not
declared in this scope
qsciscintilla.cpp:3218: error: 'SCI_USERLISTSHOW' was not declared in this scope
qsciscintilla.cpp:3219: error: 'list' was not declared in this scope
qsciscintilla.cpp:3219: error: 'QChar' was not declared in this scope
qsciscintilla.cpp: In member function 'void
QsciScintilla::handleUserListSelection(const char*, int)':
qsciscintilla.cpp:3226: error: 'emit' was not declared in this scope
qsciscintilla.cpp:3226: error: expected `;' before 'userListActivated'
qsciscintilla.cpp: In member function 'bool
QsciScintilla::caseSensitive() const':
qsciscintilla.cpp:3233: error: 'lex' was not declared in this scope
make: *** [qsciscintilla.o] Error 1



-- 
Regards,
Mehdi Bayazee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071004/54b94df7/attachment.html


More information about the PyQt mailing list