diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/README | 6 | ||||
-rw-r--r-- | examples/render-menumodel.qml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/README b/examples/README index c2516e3..1ecac0e 100644 --- a/examples/README +++ b/examples/README @@ -4,8 +4,8 @@ QML binding in applications. To export an example menu model on the bus, run 'exportmenu.py'. To render this menu in a QML application, run 'render-menumodel.qml' in -qmlviewer. You will need to inform qmlviewer of the location of the QMenuModel -if it’s not installed system-wide, e.g.: +qmlscene. You will need to inform qmlscene of the location of the QMenuModel +plugin if it’s not installed system-wide, e.g.: - qmlviewer -I libqmenumodel examples/render-menumodel.qml + qmlscene -I libqmenumodel examples/render-menumodel.qml diff --git a/examples/render-menumodel.qml b/examples/render-menumodel.qml index 45daf0d..1ad41c5 100644 --- a/examples/render-menumodel.qml +++ b/examples/render-menumodel.qml @@ -2,7 +2,7 @@ // under the well-known name com.canonical.testmenu and at the object path // /com/canonical/testmenu. -import QtQuick 1.1 +import QtQuick 2.0 import QMenuModel 0.1 Item { @@ -129,7 +129,7 @@ Item { x: 5 y: 5 anchors.margins: 4 - font.pixelSize: 12 + font.pixelSize: 11 } } } |