есть папка с исходниками python-qt4-4.8.5 делаю:
sudo python3.2 configure.py
sudo make
....
(выше еще много варнингов " warning: unused parameter 'address' ")
In file included from /usr/include/python3.2mu/Python.h:52:0,
from /usr/include/python3.2mu/sip.h:32,
from sipAPIQtCore.h:33,
from sipQtCoreQObject.cpp:29:
/usr/include/python3.2mu/pyatomic.h:59:1: warning: unused parameter ‘address’ [-Wunused-parameter]
/home/sergeek/python-qt4-4.8.5/sip/QtCore/qobject.sip: In function ‘PyObject* meth_QObject___getattr__(PyObject*, PyObject*)’:
/home/sergeek/python-qt4-4.8.5/sip/QtCore/qobject.sip:398:61: error: invalid conversion from ‘const QObject*’ to ‘QObject*’ [-fpermissive]
/home/sergeek/python-qt4-4.8.5/qpy/QtCore/qpycore_api.h:76:11: error: initializing argument 1 of ‘PyObject* qpycore_qobject_getattr(QObject*, PyObject*, const char*)’ [-fpermissive]
/home/sergeek/python-qt4-4.8.5/sip/QtCore/qobject.sip: In function ‘PyObject* meth_QObject_emit(PyObject*, PyObject*)’:
/home/sergeek/python-qt4-4.8.5/sip/QtCore/qobject.sip:569:49: error: invalid conversion from ‘const QObject*’ to ‘QObject*’ [-fpermissive]
/home/sergeek/python-qt4-4.8.5/qpy/QtCore/qpycore_api.h:83:6: error: initializing argument 1 of ‘bool qpycore_qobject_emit(QObject*, const char*, PyObject*)’ [-fpermissive]
/home/sergeek/python-qt4-4.8.5/sip/QtCore/qobject.sip: In function ‘PyObject* meth_QObject_receivers(PyObject*, PyObject*)’:
/home/sergeek/python-qt4-4.8.5/sip/QtCore/qobject.sip:660:62: error: invalid conversion from ‘const QObject*’ to ‘QObject*’ [-fpermissive]
make[1]: *** [sipQtCoreQObject.o] Error 1
make[1]: Leaving directory `/home/sergeek/python-qt4-4.8.5/QtCore'
make: *** [all] Error 2