diff options
author | alex <alex.blasche@nokia.com> | 2011-10-07 14:18:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-10 01:53:11 +0200 |
commit | 6f7d4efc56e33f49ae4289e93e26c38eb632fe5f (patch) | |
tree | 070f58b1730b6ed2ce2fe273ba56f0470a2a1505 /tests/plugins/declarativetestplugin/locationtest.cpp | |
parent | c1ecafdcf37185d4c8c518fa10174bb0eb6f78f1 (diff) | |
download | qtlocation-6f7d4efc56e33f49ae4289e93e26c38eb632fe5f.tar.gz |
Convert QtLocation QML import to new Qt 5.0 standard
"import Qt.location 5.0" is replaced by "import QtLocation 5.0"
Change-Id: I88e33bca4da62be4ab9f5490d660c306b1f2f425
Reviewed-on: http://codereview.qt-project.org/6205
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Reviewed-by: Alex <alex.blasche@nokia.com>
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Diffstat (limited to 'tests/plugins/declarativetestplugin/locationtest.cpp')
-rw-r--r-- | tests/plugins/declarativetestplugin/locationtest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/declarativetestplugin/locationtest.cpp b/tests/plugins/declarativetestplugin/locationtest.cpp index caa796b4..8f4b0eeb 100644 --- a/tests/plugins/declarativetestplugin/locationtest.cpp +++ b/tests/plugins/declarativetestplugin/locationtest.cpp @@ -54,7 +54,7 @@ class QLocationDeclarativeTestModule: public QDeclarativeExtensionPlugin public: virtual void registerTypes(const char* uri) { qDebug() << "registerTypes in new test plugin: " << uri; - if (QLatin1String(uri) == QLatin1String("Qt.location.test")) { + if (QLatin1String(uri) == QLatin1String("QtLocation.test")) { // This version numbering is not correct. It is just something to get going // until the proper versioning scheme of QML plugins in Qt5 is agreed upon. qmlRegisterType<QDeclarativePinchGenerator>(uri, 5, 0, "PinchGenerator"); |