summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-03-08 09:39:34 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-08 01:05:21 +0100
commitfb9638d88f55107e5e8d7eb3bbc30bc99890feb9 (patch)
tree262ee024178dd62c3958839b228a84ddbbcc3bef /examples/sensors/grue
parent3df9caea52f7136e0bf2e22120b6715a5ab3de45 (diff)
Rename declarative symbols.
Use the script rename-qtdeclarative-symbols.sh. Change-Id: Ib1a62731a6c95590978a488c4afbd804f14fb958 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'examples/sensors/grue')
-rw-r--r--examples/sensors/grue/import/import.pro2
-rw-r--r--examples/sensors/grue/import/main.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/sensors/grue/import/import.pro b/examples/sensors/grue/import/import.pro
index 37d25447..e6816364 100644
--- a/examples/sensors/grue/import/import.pro
+++ b/examples/sensors/grue/import/import.pro
@@ -4,7 +4,7 @@ CONFIG += plugin
TARGET = $$qtLibraryTarget(declarative_grue)
TARGETPATH = Grue
-QT = core gui declarative sensors
+QT = core gui qml sensors
INCLUDEPATH += $$PWD/../lib
LIBS += -L$$OUT_PWD/../lib -lgruesensor
diff --git a/examples/sensors/grue/import/main.cpp b/examples/sensors/grue/import/main.cpp
index 9cc5bb39..9b14fdda 100644
--- a/examples/sensors/grue/import/main.cpp
+++ b/examples/sensors/grue/import/main.cpp
@@ -38,14 +38,14 @@
**
****************************************************************************/
-#include <QtDeclarative/qdeclarativeextensionplugin.h>
-#include <QtDeclarative/qdeclarative.h>
+#include <QtQml/qqmlextensionplugin.h>
+#include <QtQml/qqml.h>
#include <gruesensor.h>
QT_BEGIN_NAMESPACE
-class GrueSensorQmlImport : public QDeclarativeExtensionPlugin
+class GrueSensorQmlImport : public QQmlExtensionPlugin
{
Q_OBJECT
public: