diff --git a/src/pyotherside_plugin.cpp b/src/pyotherside_plugin.cpp index 56ec766..7c6a955 100644 --- a/src/pyotherside_plugin.cpp +++ b/src/pyotherside_plugin.cpp @@ -68,6 +68,7 @@ PyOtherSideExtensionPlugin::registerTypes(const char *uri) qmlRegisterType(uri, 1, 2, PYOTHERSIDE_QPYTHON_NAME); qmlRegisterType(uri, 1, 3, PYOTHERSIDE_QPYTHON_NAME); qmlRegisterType(uri, 1, 4, PYOTHERSIDE_QPYTHON_NAME); + qmlRegisterType(uri, 1, 5, PYOTHERSIDE_QPYTHON_NAME); qmlRegisterType(uri, 1, 5, PYOTHERSIDE_QPYGLAREA_NAME); qmlRegisterType(uri, 1, 5, PYOTHERSIDE_PYFBO_NAME); } diff --git a/src/qpython.h b/src/qpython.h index a87c97d..a5db7bb 100644 --- a/src/qpython.h +++ b/src/qpython.h @@ -364,4 +364,13 @@ public: } }; +class QPython15 : public QPython { +Q_OBJECT +public: + QPython15(QObject *parent=0) + : QPython(parent, 1, 5) + { + } +}; + #endif /* PYOTHERSIDE_QPYTHON_H */