Hi,

QtQuickTest is not installed by default with Qt devel tools. You have to
install it yourself.

Grab the sources here:
http://qt.gitorious.net/qt-labs/qtest-qml

And follow the instructions here:
http://qt.gitorious.net/qt-labs/qtest-qml/blobs/master/README

Cheers,

On Mon, May 16, 2011 at 3:10 AM, [email protected] <[email protected]>wrote:

> Hi all,
>
> On 15 May 2011 12:33, [email protected] <[email protected]> wrote:
> > Hi,
> >
> > On 13 May 2011 17:51, Thiago Marcos P. Santos <[email protected]>
> wrote:
> >> Hi,
> >>
> >> You can also use QtQuick Test which is basically a version of QtTest for
> >> QML. Only thing that doesn't work properly now (like in QTest) is to
> >> simulate dragging (mouse press + mouse move + mouse release).
> >>
> >> Cheers,
> >>
> >> http://qt.gitorious.net/qt-labs/qtest-qml
>
> I've tried QtTest-Qml, following the instruction found on README and
> on these slides:
> http://agilesoftwaredevelopment.com/blog/artem/test-driving-qml
> but I'm not able to use it.
>
> Whenever I try to run the test file I get this error:
>
> module "QtQuickTest" is not installed
>     import QtQuickTest 1.0
>
> I've used the same sample files used in the slides. It looks like
> QtCreator cannot find qtest-qml once installed.
> I've also tried to buil packages for Ubuntu (they're available here:
> https://launchpad.net/~andreagrandi/+archive/unity-2d-tools<https://launchpad.net/%7Eandreagrandi/+archive/unity-2d-tools>)
> but it doesn't work anyway.
>
> How can I properly install and use qtest-qml ?!
>
> Thanks for your help!
>
> --
> Andrea Grandi - Nokia Qt Ambassador
> website: http://www.andreagrandi.it
>
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to