A little bit of context: I am trying to organize getting interface positions/sizes out of an application via RPC interface. To do this I have inserted grpc server code into a GUI app and grpc client into another, testing application.
Essentially, when the client app sends a signal, the main app should do button->mapToGlobal(QPoint(0,0,)) and return this via RPC. What happens in fact, is that unless I specifically press the "get coordinates" button on the main app, the coordinates I get are completely wrong. Scenario 1: mapToGlobal at the button press of the same app: correct coordinates Scenario 2: mapToGlobal at rpc signal from client app: completely wrong coordinates AND size, coordinates for buttons in the same layour are the same. What can this be?
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development