qtdeclarative/examples/qml/cppextensions/plugins
Bea Lam c0c5890b3f 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>
2012-08-07 02:32:17 +02:00
..
com/nokia/TimeExample Start of examples refactor 2012-02-24 10:24:58 +01:00
README Start of examples refactor 2012-02-24 10:24:58 +01:00
plugin.cpp Empty JSON files are not needed for the plugin system 2012-07-25 02:15:55 +02:00
plugins.pro Restore QML/C++ extensions tutorial and fix plugin docs and examples 2012-08-07 02:32:17 +02:00
plugins.qml Start of examples refactor 2012-02-24 10:24:58 +01:00
plugins.qmlproject Start of examples refactor 2012-02-24 10:24:58 +01:00

README

This example shows a module "com.nokia.TimeExample" that is implemented
by a C++ plugin (providing the "Time" type), and by QML files (providing the
"Clock" type).

To run:

  make install
  QML_IMPORT_PATH=$PWD qmlscene plugins.qml