Below you can see the front-view size comparison of the Sony RX100 IV and Fujifilm XQ2. The Fujifilm XQ2 is 2 mm narrower and 8 mm thinner than the Sony RX100 IV but it is also 1 mm taller.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.