aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2012-08-03 16:55:25 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-07 02:32:17 +0200
commitc0c5890b3f9cce4f4d75903677095e8d7da8026c (patch)
treeae2cc7f9ec08a2c2cfff580287c4700a18dfd96e /examples
parent0cefbff3b471e0045788cb3a5af17c57852e46e7 (diff)
Restore QML/C++ extensions tutorial and fix plugin docs and examples
This restores the "Writing QML Extensions with C++" tutorial that was removed during the recent QML doc restructure. This also updates outdated docs in "Creating C++ Plugins for QML" that referred to the use of Q_EXPORT_PLUGIN2() and such as the process for writing QML plugins in Qt 5 has changed. Note the plugins.json line was removed from examples/qml/cppextensions/plugins/plugins.pro since this json file was removed in a previous commit, as plugins no longer require the empty json file. Change-Id: I795d6faf6a741466a952feb8e15b028ec3d52b69 Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qml/cppextensions/plugins/plugins.pro2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/qml/cppextensions/plugins/plugins.pro b/examples/qml/cppextensions/plugins/plugins.pro
index 08a4d1a61c..e127509c0d 100644
--- a/examples/qml/cppextensions/plugins/plugins.pro
+++ b/examples/qml/cppextensions/plugins/plugins.pro
@@ -7,8 +7,6 @@ TARGET = qmlqtimeexampleplugin
SOURCES += plugin.cpp
-OTHER_FILES += "plugin.json"
-
qdeclarativesources.files += \
com/nokia/TimeExample/qmldir \
com/nokia/TimeExample/center.png \