diff options
Diffstat (limited to 'examples/sensors/sensor_explorer/import/main.cpp')
-rw-r--r-- | examples/sensors/sensor_explorer/import/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/sensors/sensor_explorer/import/main.cpp b/examples/sensors/sensor_explorer/import/main.cpp index f040fa16..36025e09 100644 --- a/examples/sensors/sensor_explorer/import/main.cpp +++ b/examples/sensors/sensor_explorer/import/main.cpp @@ -52,9 +52,8 @@ class SensorExplorerDeclarativeModule : public QQmlExtensionPlugin public: virtual void registerTypes(const char *uri) { - qDebug() << "SensorExplorerDeclarativeModule::registerTypes(const char *uri)"; - Q_ASSERT(QLatin1String(uri) == QLatin1String("Explorer")); + // @uri Explorer qmlRegisterType<QSensorExplorer>(uri, 1, 0, "SensorExplorer"); qmlRegisterType<QSensorItem>(uri, 1, 0, "SensorItem"); qmlRegisterType<QPropertyInfo>(uri, 1, 0, "PropertyInfo"); |