This commit is contained in:
Nyall Dawson 2021-02-25 07:35:58 +10:00
parent 4d4e7c95ca
commit a7fd8e07f5
3 changed files with 10 additions and 5 deletions

View File

@ -3,6 +3,11 @@
${DEFAULTDOCSTRINGSIGNATURE}
%ModuleHeaderCode
// Needed because sip uses deprecated throw(...) annotations to raise the correct Python exception
#define throw(...)
%End
%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip
%Import QtXml/QtXmlmod.sip

View File

@ -22,11 +22,6 @@ which are not wrapped by PyQt:
- NULL QVariant which is missing in PyQt5 with sip.enableautoconversion
*/
%ModuleHeaderCode
// Needed because sip uses deprecated throw(...) annotations to raise the correct Python exception
#define throw(...)
%End
template <TYPE>
%MappedType QVector< QVector<TYPE> >

View File

@ -3,6 +3,11 @@
${DEFAULTDOCSTRINGSIGNATURE}
%ModuleHeaderCode
// Needed because sip uses deprecated throw(...) annotations to raise the correct Python exception
#define throw(...)
%End
%Import QtCore/QtCoremod.sip
%Import QtGui/QtGuimod.sip
%Import QtXml/QtXmlmod.sip