Hi all,

I think that I have successfully installed QScintilla2.... I then run the python configuration program to generate the 'make' file which seems to complete successfully. However, 'make' fails with the attached errors.

I haven't a clue.  Can you help?

Ken


linux-egp3:/home/ken/Downloads/QScintilla-gpl-2.9/Python # python3 configure.py 
Configuring QScintilla 2.9...
QScintilla 2.9 is being used.
The QScintilla .sip files will be installed in /usr/local/share/sip/PyQt4.
The QScintilla module will be installed in
/usr/local/lib/python3.4/site-packages/PyQt4.
PyQt 4.11.3 is being used.
Qt 5.4.2 is being used.
sip 4.16.5 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/share/qt4/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...
linux-egp3:/home/ken/Downloads/QScintilla-gpl-2.9/Python # make
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/share/qt4/mkspecs/default -I. 
-I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include 
-I/usr/local/include/python3.4m -I/usr/include -I. -o sipQsciQsciLexerPOV.o 
sipQsciQsciLexerPOV.cpp
./sipQsciQsciLexerPOV.cpp: In member function ‘void 
sipQsciLexerPOV::disconnectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerPOV.cpp:187:42: error: no matching function for call to 
‘sipQsciLexerPOV::disconnectNotify(const QMetaMethod&)’
         QsciLexerPOV::disconnectNotify(a0);
                                          ^
./sipQsciQsciLexerPOV.cpp:187:42: note: candidate is:
In file included from /usr/include/QtCore/qiodevice.h:46:0,
                 from /usr/include/QtCore/qdatastream.h:46,
                 from /usr/include/QtCore/qmetatype.h:49,
                 from /usr/include/QtCore/QMetaType:1,
                 from sipAPIQsci.h:30,
                 from sipQsciQsciLexerPOV.cpp:24:
/usr/include/QtCore/qobject.h:291:18: note: virtual void 
QObject::disconnectNotify(const char*)
     virtual void disconnectNotify(const char *signal);
                  ^
/usr/include/QtCore/qobject.h:291:18: note:   no known conversion for argument 
1 from ‘const QMetaMethod’ to ‘const char*’
./sipQsciQsciLexerPOV.cpp: In member function ‘void 
sipQsciLexerPOV::connectNotify(const QMetaMethod&)’:
./sipQsciQsciLexerPOV.cpp:205:39: error: no matching function for call to 
‘sipQsciLexerPOV::connectNotify(const QMetaMethod&)’
         QsciLexerPOV::connectNotify(a0);
                                       ^
./sipQsciQsciLexerPOV.cpp:205:39: note: candidate is:
In file included from /usr/include/QtCore/qiodevice.h:46:0,
                 from /usr/include/QtCore/qdatastream.h:46,
                 from /usr/include/QtCore/qmetatype.h:49,
                 from /usr/include/QtCore/QMetaType:1,
                 from sipAPIQsci.h:30,
                 from sipQsciQsciLexerPOV.cpp:24:
/usr/include/QtCore/qobject.h:290:18: note: virtual void 
QObject::connectNotify(const char*)
     virtual void connectNotify(const char *signal);
                  ^
/usr/include/QtCore/qobject.h:290:18: note:   no known conversion for argument 
1 from ‘const QMetaMethod’ to ‘const char*’
make: *** [sipQsciQsciLexerPOV.o] Error 1
_______________________________________________
QScintilla mailing list
[email protected]
https://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to