##// END OF EJS Templates
Now Works with Python 2 & 3, Qt 4 & 5....
Now Works with Python 2 & 3, Qt 4 & 5. CMake now generates different librariy files depending on the linked Qt/Python versions: PythonQt - Qt 4.x + Python 2.x PythonQt_3 - Qt 4.x + Python 3.x PythonQt5 - Qt 5.x + Python 2.x PythonQt5_3 - Qt 5.x + Python 3.x Fix Qt 4 build.

File last commit:

r128:2bd3690c0f37
r208:1476f2d2cf46
Show More
com_trolltech_qt_svg_init.cpp
11 lines | 818 B | text/x-c | CppLexer
florianlink
added newly generated wrappers for Qt 4.4.3...
r99 #include <PythonQt.h>
#include "com_trolltech_qt_svg0.h"
florianlink
updated to Qt 4.6 API...
r110 void PythonQt_init_QtSvg(PyObject* module) {
florianlink
updated to new operators...
r120 PythonQt::priv()->registerCPPClass("QSvgGenerator", "", "QtSvg", PythonQtCreateObject<PythonQtWrapper_QSvgGenerator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSvgGenerator>, module, 0);
florianlink
added newly generated wrappers for Qt 4.4.3...
r99 PythonQt::self()->addParentClass("QSvgGenerator", "QPaintDevice",PythonQtUpcastingOffset<QSvgGenerator,QPaintDevice>());
florianlink
updated to new operators...
r120 PythonQt::priv()->registerClass(&QSvgRenderer::staticMetaObject, "QtSvg", PythonQtCreateObject<PythonQtWrapper_QSvgRenderer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSvgRenderer>, module, 0);
florianlink
updated to improved generator...
r128 PythonQt::priv()->registerClass(&QSvgWidget::staticMetaObject, "QtSvg", PythonQtCreateObject<PythonQtWrapper_QSvgWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSvgWidget>, module, 0);
florianlink
added newly generated wrappers for Qt 4.4.3...
r99
}