Below you can see the front-view size comparison of the Leica Q and Sony RX1R. The Sony RX1R is clearly the smaller of the two cameras. Its body is 17 mm narrower, 15 mm shorter and 23 mm thinner than the Leica Q.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.