aboutsummaryrefslogtreecommitdiff
path: root/examples/render-menumodel.qml
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-05 11:59:50 +0200
committerOlivier Tilloy <olivier.tilloy@canonical.com>2012-10-05 11:59:50 +0200
commit81dbf09d988d87f82496ba106b5f1dd2aad7967d (patch)
treed1fed43374afcd9be379998526b7de11d591e271 /examples/render-menumodel.qml
parent696fba50395807c344325af11e71ec74cf370c3d (diff)
downloadqmenumodel-81dbf09d988d87f82496ba106b5f1dd2aad7967d.tar.gz
qmenumodel-81dbf09d988d87f82496ba106b5f1dd2aad7967d.tar.bz2
qmenumodel-81dbf09d988d87f82496ba106b5f1dd2aad7967d.zip
Port to Qt5.
To compile and test, one needs to install the qt5-meta-minimal package from the Canonical Qt5 Edgers PPA (https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta1). This installs Qt5 in /opt/qt5/. cmake needs to be invoked with CMAKE_PREFIX_PATH=/opt/qt5/lib/cmake, and /opt/qt5/bin needs to be added to $PATH.
Diffstat (limited to 'examples/render-menumodel.qml')
-rw-r--r--examples/render-menumodel.qml4
1 files changed, 2 insertions, 2 deletions
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
}
}
}