I have a weird problem and I don't know how can I solve it.
I have a QGraphicsScene, with two QGraphicsItems. One "is falling" and the other is the floor. The falling should collide with the floor and stay on its top.
For that, I use projection vectors and few long functions... it has no sense to paste them here.
The program works fine in Visual C++ with Qt, and it does as well with the simulator. When they collide, there is a small error of 1e-6 or something like that, nothing important. BUT when I try the application in the phone the error is always 0.6 or 0.2... it's really weird and it has no sense because the code is exactly the same.
Well, I'll debug step by step... but it's even worse because my code gives me back that there is no collision (please note I'm using my own collision functions, not the Qt one). But it should!
Do you have, for any chance, any sort of hint or something like that? does Qt work differently when mapping the positions in the mobile phone? Maybe moveBy() works differently?