[PyQt] QScintilla Python not building
Sebastian Elsner
sebastianelsner at freenet.de
Fri Aug 29 10:32:03 BST 2014
Hello,
on CentOS 6.5 x64, Python 2.6.6, the PYthon bindings of QScintilla fail
to build using the latest snapshots, 2.8.3 and 2.8. Details see below.
Regards
Sebastian
[sebels at STATION38 Python]$ python configure.py
Configuring QScintilla 2.8.4-snapshot-aafc4a7247fb...
QScintilla 2.8.4-snapshot-aafc4a7247fb is being used.
The QScintilla .sip files will be installed in /usr/share/sip/PyQt4.
The QScintilla module will be installed in
/usr/lib64/python2.6/site-packages/PyQt4.
PyQt 4.11.1 is being used.
Qt 4.8.6 is being used.
sip 4.16.2 is being used.
The sip executable is /usr/local/bin/sip.
The QScintilla module is being built with 'protected' redefined as 'public'.
The QScintilla API file will be installed in
/usr/local/Trolltech/Qt-4.8.6/qsci/api/python.
Generating the C++ source for the Qsci module...
Generating the .pro file for the Qsci module...
Creating the Makefile for the Qsci module...
[sebels at STATION38 Python]$ make -j 4
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++ -I.
-I/usr/local/Trolltech/Qt-4.8.6/include/QtCore
-I/usr/local/Trolltech/Qt-4.8.6/include/QtGui
-I/usr/local/Trolltech/Qt-4.8.6/include -I/usr/include/python2.6
-I/usr/local/Trolltech/Qt-4.8.6/include -I. -o
sipQsciQsciLexerCoffeeScript.o sipQsciQsciLexerCoffeeScript.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++ -I.
-I/usr/local/Trolltech/Qt-4.8.6/include/QtCore
-I/usr/local/Trolltech/Qt-4.8.6/include/QtGui
-I/usr/local/Trolltech/Qt-4.8.6/include -I/usr/include/python2.6
-I/usr/local/Trolltech/Qt-4.8.6/include -I. -o sipQsciQsciLexerPOV.o
sipQsciQsciLexerPOV.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++ -I.
-I/usr/local/Trolltech/Qt-4.8.6/include/QtCore
-I/usr/local/Trolltech/Qt-4.8.6/include/QtGui
-I/usr/local/Trolltech/Qt-4.8.6/include -I/usr/include/python2.6
-I/usr/local/Trolltech/Qt-4.8.6/include -I. -o sipQsciQsciLexerTCL.o
sipQsciQsciLexerTCL.cpp
g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -fPIC
-DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/local/Trolltech/Qt-4.8.6/mkspecs/linux-g++ -I.
-I/usr/local/Trolltech/Qt-4.8.6/include/QtCore
-I/usr/local/Trolltech/Qt-4.8.6/include/QtGui
-I/usr/local/Trolltech/Qt-4.8.6/include -I/usr/include/python2.6
-I/usr/local/Trolltech/Qt-4.8.6/include -I. -o sipQsciQsciLexerIDL.o
sipQsciQsciLexerIDL.cpp
./sipQsciQsciLexerCoffeeScript.cpp: In member function ‘void
sipQsciLexerCoffeeScript::disconnectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerCoffeeScript.cpp:189: error: no matching function for
call to ‘sipQsciLexerCoffeeScript::disconnectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:291: note:
candidates are: virtual void QObject::disconnectNotify(const char*)
./sipQsciQsciLexerCoffeeScript.cpp: In member function ‘void
sipQsciLexerCoffeeScript::connectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerCoffeeScript.cpp:207: error: no matching function for
call to ‘sipQsciLexerCoffeeScript::connectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:290: note:
candidates are: virtual void QObject::connectNotify(const char*)
./sipQsciQsciLexerCoffeeScript.cpp: At global scope:
./sipQsciQsciLexerCoffeeScript.cpp:1428: warning: missing initializer
for member ‘_pyqt4ClassTypeDef::qt_interface’
make: *** [sipQsciQsciLexerCoffeeScript.o] Error 1
make: *** Waiting for unfinished jobs....
./sipQsciQsciLexerPOV.cpp: In member function ‘void
sipQsciLexerPOV::disconnectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerPOV.cpp:192: error: no matching function for call to
‘sipQsciLexerPOV::disconnectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:291: note:
candidates are: virtual void QObject::disconnectNotify(const char*)
./sipQsciQsciLexerPOV.cpp: In member function ‘void
sipQsciLexerPOV::connectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerPOV.cpp:210: error: no matching function for call to
‘sipQsciLexerPOV::connectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:290: note:
candidates are: virtual void QObject::connectNotify(const char*)
./sipQsciQsciLexerPOV.cpp: At global scope:
./sipQsciQsciLexerPOV.cpp:1426: warning: missing initializer for member
‘_pyqt4ClassTypeDef::qt_interface’
./sipQsciQsciLexerIDL.cpp: In member function ‘void
sipQsciLexerIDL::disconnectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerIDL.cpp:194: error: no matching function for call to
‘sipQsciLexerIDL::disconnectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:291: note:
candidates are: virtual void QObject::disconnectNotify(const char*)
./sipQsciQsciLexerIDL.cpp: In member function ‘void
sipQsciLexerIDL::connectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerIDL.cpp:212: error: no matching function for call to
‘sipQsciLexerIDL::connectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:290: note:
candidates are: virtual void QObject::connectNotify(const char*)
make: *** [sipQsciQsciLexerPOV.o] Error 1
./sipQsciQsciLexerIDL.cpp: At global scope:
./sipQsciQsciLexerIDL.cpp:1019: warning: missing initializer for member
‘_pyqt4ClassTypeDef::qt_interface’
make: *** [sipQsciQsciLexerIDL.o] Error 1
./sipQsciQsciLexerTCL.cpp: In member function ‘void
sipQsciLexerTCL::disconnectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerTCL.cpp:189: error: no matching function for call to
‘sipQsciLexerTCL::disconnectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:291: note:
candidates are: virtual void QObject::disconnectNotify(const char*)
./sipQsciQsciLexerTCL.cpp: In member function ‘void
sipQsciLexerTCL::connectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerTCL.cpp:207: error: no matching function for call to
‘sipQsciLexerTCL::connectNotify(const QMetaMethod&)’
/usr/local/Trolltech/Qt-4.8.6/include/QtCore/qobject.h:290: note:
candidates are: virtual void QObject::connectNotify(const char*)
./sipQsciQsciLexerTCL.cpp: At global scope:
./sipQsciQsciLexerTCL.cpp:1224: warning: missing initializer for member
‘_pyqt4ClassTypeDef::qt_interface’
make: *** [sipQsciQsciLexerTCL.o] Error 1
More information about the PyQt
mailing list