Hi Dmitry
> 4) If your package called /usr/bin/sip directly, call /usr/bin/sip5 instead.
>
I have created an upstream branch, sip5
https://github.com/GauiStori/PyQt-Qwt
But I get a compilation error.
"""
x86_64-linux-gnu-g++ -c -pipe -fno-exceptions -O2 -g -O2
-fdebug-prefix-map=/home/gudjon/project_git/github/PyQt-Qwt/Qwt=.
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2
-Wall -Wextra -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public
-DQWT_PYTHON_WRAPPER -DQWT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem
/usr/include/qwt -I../include -isystem /usr/include/python3.8 -isystem
/usr/include/x86_64-linux-gnu/qt5 -isystem
/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem
/usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt5/QtCore -I.
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o
sipQwtQVector0100QwtIntervalSample.o sipQwtQVector0100QwtIntervalSample.cpp
x86_64-linux-gnu-g++ -c -pipe -fno-exceptions -O2 -g -O2
-fdebug-prefix-map=/home/gudjon/project_git/github/PyQt-Qwt/Qwt=.
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2
-Wall -Wextra -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public
-DQWT_PYTHON_WRAPPER -DQWT_DLL -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB
-DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem
/usr/include/qwt -I../include -isystem /usr/include/python3.8 -isystem
/usr/include/x86_64-linux-gnu/qt5 -isystem
/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem
/usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem
/usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem
/usr/include/x86_64-linux-gnu/qt5/QtCore -I.
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o
sipQwtQVector0600QVector2400.o sipQwtQVector0600QVector2400.cpp
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip: In function ‘int
convertTo_QVector_0600QVector_2400(PyObject*, void**, int*, PyObject*)’:
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip:36:40: error:
‘sipFindMappedType’ was not declared in this scope; did you mean
‘sipMappedType’?
36 | const sipMappedType* qvector_qreal =
sipFindMappedType("QVector<qreal>");
| ^~~~~~~~~~~~~~~~~
| sipMappedType
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip:45:12: error:
‘sipCanConvertToMappedType’ was not declared in this scope; did you mean
‘sipCanConvertToType’?
45 | if (!sipCanConvertToMappedType(PyList_GET_ITEM(sipPy, i),
qvector_qreal, SIP_NOT_NONE))
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| sipCanConvertToType
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip:58:63: error:
‘sipConvertToMappedType’ was not declared in this scope; did you mean
‘sipConvertToType’?
58 | QVector<qreal> * t = reinterpret_cast< QVector<qreal> *
>(sipConvertToMappedType(PyList_GET_ITEM(sipPy, i), qvector_qreal,
sipTransferObj, SIP_NOT_NONE, &state, sipIsErr));
|
^~~~~~~~~~~~~~~~~~~~~~
|
sipConvertToType
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip:62:7: error:
‘sipReleaseMappedType’ was not declared in this scope; did you mean
‘sipReleaseType’?
62 | sipReleaseMappedType(t, qvector_qreal, state);
| ^~~~~~~~~~~~~~~~~~~~
| sipReleaseType
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip:67:5: error:
‘sipReleaseMappedType’ was not declared in this scope; did you mean
‘sipReleaseType’?
67 | sipReleaseMappedType(t, qvector_qreal, state);
| ^~~~~~~~~~~~~~~~~~~~
| sipReleaseType
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip: In function
‘PyObject* convertFrom_QVector_0600QVector_2400(void*, PyObject*)’:
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip:15:40: error:
‘sipFindMappedType’ was not declared in this scope; did you mean
‘sipMappedType’?
15 | const sipMappedType* qvector_qreal =
sipFindMappedType("QVector<qreal>");
| ^~~~~~~~~~~~~~~~~
| sipMappedType
/home/gudjon/project_git/github/PyQt-Qwt/sip/conversions.sip:23:17: error:
‘sipConvertFromMappedType’ was not declared in this scope; did you mean
‘sipConvertFromNewType’?
23 | if ((tobj = sipConvertFromMappedType(t, qvector_qreal,
sipTransferObj)) == NULL)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| sipConvertFromNewType
make[1]: *** [Makefile:1023: sipQwtQVector0600QVector2400.o] Error 1
make[1]: Leaving directory '/home/gudjon/project_git/github/PyQt-Qwt/Qwt'
make: *** [Makefile:47: sub-Qwt-make_first-ordered] Error 2
"""
I will start working on PyQwt3D and see if I stumble up on the solution to this
problem there :)
Cheers
Gudjon