[SOLVED]What is the difference between QDeclarativeExtensionPlugin and QQmlExtensionPlugin?
-
Their description in documents are almost the same. The documennts do not say any relation between them.
QDeclarativeExtensionPlugin:
http://doc.qt.io/qt-4.8/qdeclarativeextensionplugin.htmlQQmlExtensionPlugin:
http://doc.qt.io/qt-5/qtqml-modules-cppplugins.htmlThe only difference is their versions. QDeclarativeExtensionPlugin appeared from Qt4.7 while QQmlExtensionPlugin appeared from Qt5.0.
Does QQmlExtensionPlugin replace QDeclarativeExtensionPlugin?
-
Their description in documents are almost the same. The documennts do not say any relation between them.
QDeclarativeExtensionPlugin:
http://doc.qt.io/qt-4.8/qdeclarativeextensionplugin.htmlQQmlExtensionPlugin:
http://doc.qt.io/qt-5/qtqml-modules-cppplugins.htmlThe only difference is their versions. QDeclarativeExtensionPlugin appeared from Qt4.7 while QQmlExtensionPlugin appeared from Qt5.0.
Does QQmlExtensionPlugin replace QDeclarativeExtensionPlugin?
@CoderJeff said:
Does QQmlExtensionPlugin replace QDeclarativeExtensionPlugin?
Yes.
Their description in documents are almost the same. The documennts do not say any relation between them.
See Porting QML Applications to Qt 5: C++ code. In summary, QDeclarative* is for Qt Quick 1, while QQml* and QQuick* are for Qt Quick 2.
Qt Quick 2 is a complete rewrite, with superior performance and a more modular structure compared to Qt Quick 1. Version 1 is now deprecated.
-
@CoderJeff said:
Does QQmlExtensionPlugin replace QDeclarativeExtensionPlugin?
Yes.
Their description in documents are almost the same. The documennts do not say any relation between them.
See Porting QML Applications to Qt 5: C++ code. In summary, QDeclarative* is for Qt Quick 1, while QQml* and QQuick* are for Qt Quick 2.
Qt Quick 2 is a complete rewrite, with superior performance and a more modular structure compared to Qt Quick 1. Version 1 is now deprecated.