<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div>Hy devs</div><div><br></div><div>I'm working on a game where a spaceship movement is controlled by qml TiltSensor<br></div><div><br></div><div><br></div><div>- TiltSensor works native in a android mobile </div><div><br></div><div>- That same apk file works in my intex aqua fish when installing it as android app</div><div><br></div><div>- compiling native to sailfish OS, the Tilt sensor doenst work, spaceship doenst move, sensor does not get active, why is that if it works in the apk ??????????</div><div><br></div><div><br></div><div><br></div><div>I solved my problem in sailfish OS by using a qml RotationSensor, it works nicely in Sailfish OS, but then it doenst work on the android mobile :(</div><div><br></div><div>So I have to use <span style="white-space: pre-wrap; font-style: italic; color: rgb(0, 85, 175);">Qt</span><span style="white-space: pre-wrap;">.platform.os to </span>check the plataform and load the apropriate sensor. Btw <span style="white-space: pre-wrap; font-style: italic; color: rgb(0, 85, 175);">Qt</span><span style="white-space: pre-wrap;">.platform.os detects sailfish OS as a linux OS, it would be nice to have is own identifier.</span></div><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;">Right now my problem is solved, but I'm just wondering what's all this mess with the sensors ?</span></div><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;">Chers</span></div><div><span style="white-space: pre-wrap;">João</span></div><div><br></div><div><br></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"></div></div></body></html>