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