This indirectly fixes the qdebugmessageservice autotest,
which was getting confused by the "old plugin" warning.
Also updated the extension plugin interface to use
org.qt-project rather than com.trolltech.
Change-Id: I94fc6cf03d23e606c2e2333b013dd2b698f04623
Reviewed-by: Martin Jones <martin.jones@nokia.com>
virtual void initializeEngine(QDeclarativeEngine *engine, const char *uri) = 0;
};
-Q_DECLARE_INTERFACE(QDeclarativeTypesExtensionInterface, "com.trolltech.Qt.QDeclarativeTypesExtensionInterface/1.0")
-Q_DECLARE_INTERFACE(QDeclarativeExtensionInterface, "com.trolltech.Qt.QDeclarativeExtensionInterface/1.0")
+Q_DECLARE_INTERFACE(QDeclarativeTypesExtensionInterface, "org.qt-project.Qt.QDeclarativeTypesExtensionInterface/1.0")
+Q_DECLARE_INTERFACE(QDeclarativeExtensionInterface, "org.qt-project.Qt.QDeclarativeExtensionInterface/1.0")
QT_END_NAMESPACE
class QtQuick2Plugin : public QDeclarativeExtensionPlugin
{
Q_OBJECT
+ Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QDeclarativeExtensionInterface/1.0")
public:
virtual void registerTypes(const char *uri)
{
QT_END_NAMESPACE
#include "plugin.moc"
-
-//![plugin export decl]
-Q_EXPORT_PLUGIN2(qtquick2plugin, QT_PREPEND_NAMESPACE(QtQuick2Plugin));
-//![plugin export decl]
-