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