Hi,

You have to use "import Qt 4.7". Import Qt Quick 1.0 is just available in Qt
4.7.1 and on the device is Qt 4.7.0 installed. But no additional packages
needed.

Cheers Daniel



2010/11/12 Alberto Mardegan <[email protected]>

> Hi all,
>  did anyone try to run QtQuick applications in PR1.3?
>
> I wrote sample.qml with these contents:
>
> =====
> import QtQuick 1.0
>
> Rectangle {
>    id: page
>    width: 500; height: 200
>    color: "lightgray"
>
>    Text {
>        id: helloText
>        text: "Hello world!"
>        y: 30
>        anchors.horizontalCenter: page.horizontalCenter
>        font.pointSize: 24; font.bold: true
>    }
> }
> =====
>
> But then when I try to run it:
>
> =====
> Nokia-N900:~$ qmlviewer sample.qml
> file:///home/user/sample.qml:1:1: module "QtQuick" is not installed
>     import QtQuick 1.0
>     ^
> =====
>
> Am I missing some packages? I think I've installed all Qt packages.
>
> Ciao,
>  Alberto
>
>
> --
> http://blog.mardy.it <- geek in un lingua international!
> _______________________________________________
> maemo-developers mailing list
> [email protected]
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to