I don't think that shoving the Q45 axles in an S13 will work too well. The track width is nearly over 2" wider on a Q, and that width on Nissan multilink suspensions is usually made up in the subframe. The links are the same across the models, however. So usually that means wider tracked cars get longer axles to accomodate. A few mils to a half inch usually falls in range of tolerance, but a full inch or more could lead to popping CV seals.
In fact, we have a
write up on the boards about swapping a Q45 diff into an S14, but to deal with the track width difference, the installer used the driver's axle from a Q on the pass side of the 240. The passenger axle is the longer of the two on a 240, so he took the shorter Q axle (driver side) and it fit the longer space of the 240's passenger axle.