Gestures are not built by default.  Once I had Qt built, I did:

cd src\imports\gestures
nmake

And the following files were placed in imports\Qt\labs\gestures (I built both 
release and debug)

gesturesqmlplugin.dll
gesturesqmlplugin.exp
gesturesqmlplugin.lib
gesturesqmlplugind.dll
gesturesqmlplugind.exp
gesturesqmlplugind.ilk
gesturesqmlplugind.lib
gesturesqmlplugind.pdb
qmldir

The gestures example then loaded without error (though it doesn't do anything 
due to QTBUG-9849).

Martin.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Malmqvist Mathias (Nokia-Design/London)
Sent: Friday, 7 May 2010 1:36 AM
To: [email protected]
Subject: [Qt-qml] "GestureArea is not a type" plugin error on Windows


Hi everyone, 

I'm trying to get the gestures labs plugin to work on a Windows machine, 
but I keep getting "GestureArea is not a type" errors running the gestures
example code.

At first I got an error saying Qt.labs.gestures could not be imported, but
after I moved the binaries into the "bin" folder, the module seems to load, 
but the GestureArea type is still not recognized.

Note that when I did the same on my Linux box everything worked fine, 
but of course it was of no use as it (the box) does not have touch support.

I've compiled both Qt and the labs module as release binaries.
Is there a problem with QML plugins under Windows?



Cheers
Mathias
 
------------------------------------------------------------
Mathias Malmqvist
CWRT Prototype Lead
S SE UX Prototyping GB
10 Great Pulteney Street, London, W1F 9NB, UK
Got no reply? Try giving me a call:
Mobile: +44 (0)77 6522 2738
http://www.nokia.com
 
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to