[Interest] Something funny. QAccelerometer

Allan Sandfeld Jensen kde at carewolf.com
Wed Dec 18 01:22:54 CET 2013


On Monday 16 December 2013, Guido Seifert wrote:
> Hi,
> don't take this mail too serious. :-)
> 
> I just started to play with QML Sensors. When I checked, which sensors are
> available with Component.onCompleted: {
>         var types = Sensors.QmlSensors.sensorTypes();
>         console.log(types.join(", "));
>     }
> I got QAccelerometer and QAmbientLightSensor.
> 
> I am wondering... how do I test the QAccelerometer? By throwing my desktop
> machine out of the window? ;-)
> 
It works better if you throw a laptop with hdaps out of the window. Not sure 
how well it has been tested, but it should work in theory ;)

`Allan



More information about the Interest mailing list